Browse Source

Remove SDL_DECLSPEC_FREE before SDL_DECLSPEC in gendynapi

hwsmm 8 months ago
parent
commit
35e42d0a25
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/dynapi/gendynapi.py

+ 1 - 1
src/dynapi/gendynapi.py

@@ -196,8 +196,8 @@ def main():
             #
             func_ret = func_ret.replace('extern', ' ')
             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', ' ')
             # Remove trailing spaces in front of '*'
             tmp = ""
             while func_ret != tmp: