include: add SDL_RESTRICT for restricted pointer aliasing

This commit is contained in:
Anonymous Maarten authored and Anonymous Maarten committed 2024-09-06 01:35:43 +02:00
1 parent 2d4eb29c37
commit 55934bc85e
2 files changed
+11

No files matched your search

+1
View File
@@ -180,6 +180,7 @@ def main():
func = re.sub(r" SDL_RELEASE\(.*\)", "", func);
func = re.sub(r" SDL_RELEASE_SHARED\(.*\)", "", func);
func = re.sub(r" SDL_RELEASE_GENERIC\(.*\)", "", func);
func = func.replace(" SDL_RESTRICT", "");
# Should be a valid function here
match = reg_parsing_function.match(func)