mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-07 11:58:12 +00:00
Catch the iOS demos when renaming API functions
This commit is contained in:
@@ -39,7 +39,7 @@ def main():
|
|||||||
# Replace the symbol in source code and documentation
|
# Replace the symbol in source code and documentation
|
||||||
replacements = { args.oldname: args.newname }
|
replacements = { args.oldname: args.newname }
|
||||||
regex = create_regex_from_replacements(replacements)
|
regex = create_regex_from_replacements(replacements)
|
||||||
for dir in ['src', 'test', 'include', 'docs']:
|
for dir in ["src", "test", "include", "docs", "Xcode-iOS/Demos"]:
|
||||||
replace_symbols_in_path(SDL_ROOT / dir, regex, replacements)
|
replace_symbols_in_path(SDL_ROOT / dir, regex, replacements)
|
||||||
|
|
||||||
add_symbol_to_oldnames(header.name, args.oldname, args.newname)
|
add_symbol_to_oldnames(header.name, args.oldname, args.newname)
|
||||||
|
Reference in New Issue
Block a user