Remove SDL_DECLSPEC_FREE before SDL_DECLSPEC in gendynapi

This commit is contained in:
hwsmm 2024-07-28 14:15:54 +09:00 committed by Sam Lantinga
parent 44f1f81d6c
commit 35e42d0a25

View file

@ -196,8 +196,8 @@ def main():
# #
func_ret = func_ret.replace('extern', ' ') func_ret = func_ret.replace('extern', ' ')
func_ret = func_ret.replace('SDLCALL', ' ') func_ret = func_ret.replace('SDLCALL', ' ')
func_ret = func_ret.replace('SDL_DECLSPEC', ' ')
func_ret = func_ret.replace('SDL_DECLSPEC_FREE', ' ') func_ret = func_ret.replace('SDL_DECLSPEC_FREE', ' ')
func_ret = func_ret.replace('SDL_DECLSPEC', ' ')
# Remove trailing spaces in front of '*' # Remove trailing spaces in front of '*'
tmp = "" tmp = ""
while func_ret != tmp: while func_ret != tmp: