mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-01 23:07:45 +08:00
wikiheaders: manpages See Also sections should specify 3 vs 3type.
This commit is contained in:
@@ -2003,7 +2003,12 @@ if ($copy_direction == 1) { # --copy-to-headers
|
|||||||
s/\A\s+//;
|
s/\A\s+//;
|
||||||
s/\s+\Z//;
|
s/\s+\Z//;
|
||||||
next if $_ eq '';
|
next if $_ eq '';
|
||||||
$str .= "$nextstr.BR $_ (3)";
|
my $seealso_symtype = $headersymstype{$_};
|
||||||
|
my $seealso_mansection = '3';
|
||||||
|
if (defined($seealso_symtype) && ($seealso_symtype >= 3) && ($seealso_symtype <= 5)) { # struct/union/enum/typedef
|
||||||
|
$seealso_mansection = '3type';
|
||||||
|
}
|
||||||
|
$str .= "$nextstr.BR $_ ($seealso_mansection)";
|
||||||
$nextstr = ",\n";
|
$nextstr = ",\n";
|
||||||
}
|
}
|
||||||
$str .= "\n";
|
$str .= "\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user