Fixed gendyapi.py parsing of SDL_RELEASE_GENERIC

main
Sam Lantinga 2023-11-01 08:36:51 -07:00
parent 759cdf6159
commit 9323417e9c
1 changed files with 1 additions and 0 deletions

View File

@ -156,6 +156,7 @@ def main():
func = re.sub(" SDL_TRY_ACQUIRE_SHARED\(.*\)", "", func); func = re.sub(" SDL_TRY_ACQUIRE_SHARED\(.*\)", "", func);
func = re.sub(" SDL_RELEASE\(.*\)", "", func); func = re.sub(" SDL_RELEASE\(.*\)", "", func);
func = re.sub(" SDL_RELEASE_SHARED\(.*\)", "", func); func = re.sub(" SDL_RELEASE_SHARED\(.*\)", "", func);
func = re.sub(" SDL_RELEASE_GENERIC\(.*\)", "", func);
# Should be a valid function here # Should be a valid function here
match = reg_parsing_function.match(func) match = reg_parsing_function.match(func)