Renamed DECLSPEC to SDL_DECLSPEC
This commit is contained in:
1 parent
2cf32b0e0a
commit
6f2621438a
67 files changed
+1090
-1099
No files matched your search
@@ -87,7 +87,7 @@ def main():
|
||||
continue
|
||||
|
||||
# Remove one line comment /* ... */
|
||||
# eg: extern DECLSPEC SDL_hid_device * SDLCALL SDL_hid_open_path(const char *path, int bExclusive /* = false */);
|
||||
# eg: extern SDL_DECLSPEC SDL_hid_device * SDLCALL SDL_hid_open_path(const char *path, int bExclusive /* = false */);
|
||||
line = reg_comment_remove_content.sub('', line)
|
||||
|
||||
# Get the comment block /* ... */ across several lines
|
||||
@@ -183,7 +183,7 @@ def main():
|
||||
#
|
||||
func_ret = func_ret.replace('extern', ' ')
|
||||
func_ret = func_ret.replace('SDLCALL', ' ')
|
||||
func_ret = func_ret.replace('DECLSPEC', ' ')
|
||||
func_ret = func_ret.replace('SDL_DECLSPEC', ' ')
|
||||
# Remove trailing spaces in front of '*'
|
||||
tmp = ""
|
||||
while func_ret != tmp:
|
||||
|
||||
Reference in new issue
Block a user