mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-05 09:26:25 +00:00
include: add SDL_RESTRICT for restricted pointer aliasing
This commit is contained in:

committed by
Anonymous Maarten

parent
2d4eb29c37
commit
55934bc85e
@@ -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)
|
||||
|
Reference in New Issue
Block a user