mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 17:58:27 +00:00
wikiheaders: Don't present printf-support compiler metadata in wiki.
This commit is contained in:
parent
66aac9aced
commit
c3a4b15a74
1 changed files with 3 additions and 0 deletions
|
@ -919,6 +919,9 @@ while (my $d = readdir(DH)) {
|
|||
}
|
||||
}
|
||||
|
||||
$decl =~ s/\s*SDL_W?PRINTF_VARARG_FUNCV?\s*\(\d+\)\s*;\Z/;/; # don't want this metadata as part of the documentation.
|
||||
$decl =~ s/SDL_PRINTF_FORMAT_STRING\s*//; # don't want this metadata as part of the documentation.
|
||||
|
||||
# !!! FIXME: code duplication with typedef processing, below.
|
||||
# We assume any `#define`s directly after the function are related to it: probably bitflags for an integer typedef.
|
||||
# We'll also allow some other basic preprocessor lines.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue