mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-13 01:45:45 +00:00
Remove extra spaces in stripped tokens
This commit is contained in:
parent
a1615dea85
commit
8cc3783e75
1 changed files with 9 additions and 9 deletions
|
|
@ -141,15 +141,15 @@ def main():
|
|||
print(" Raw data: " + func);
|
||||
|
||||
# Replace unusual stuff...
|
||||
func = func.replace("SDL_PRINTF_VARARG_FUNC(1)", "");
|
||||
func = func.replace("SDL_PRINTF_VARARG_FUNC(2)", "");
|
||||
func = func.replace("SDL_PRINTF_VARARG_FUNC(3)", "");
|
||||
func = func.replace("SDL_WPRINTF_VARARG_FUNC(3)", "");
|
||||
func = func.replace("SDL_SCANF_VARARG_FUNC(2)", "");
|
||||
func = func.replace("__attribute__((analyzer_noreturn))", "");
|
||||
func = func.replace("SDL_MALLOC", "");
|
||||
func = func.replace("SDL_ALLOC_SIZE2(1, 2)", "");
|
||||
func = func.replace("SDL_ALLOC_SIZE(2)", "");
|
||||
func = func.replace(" SDL_PRINTF_VARARG_FUNC(1)", "");
|
||||
func = func.replace(" SDL_PRINTF_VARARG_FUNC(2)", "");
|
||||
func = func.replace(" SDL_PRINTF_VARARG_FUNC(3)", "");
|
||||
func = func.replace(" SDL_WPRINTF_VARARG_FUNC(3)", "");
|
||||
func = func.replace(" SDL_SCANF_VARARG_FUNC(2)", "");
|
||||
func = func.replace(" __attribute__((analyzer_noreturn))", "");
|
||||
func = func.replace(" SDL_MALLOC", "");
|
||||
func = func.replace(" SDL_ALLOC_SIZE2(1, 2)", "");
|
||||
func = func.replace(" SDL_ALLOC_SIZE(2)", "");
|
||||
func = re.sub(" SDL_ACQUIRE\(.*\)", "", func);
|
||||
func = re.sub(" SDL_ACQUIRE_SHARED\(.*\)", "", func);
|
||||
func = re.sub(" SDL_TRY_ACQUIRE\(.*\)", "", func);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue