瀏覽代碼

Catch the iOS demos when renaming API functions

Sam Lantinga 2 年之前
父節點
當前提交
32fad06a93
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      build-scripts/rename_api.py

+ 1 - 1
build-scripts/rename_api.py

@@ -39,7 +39,7 @@ def main():
     # Replace the symbol in source code and documentation
     replacements = { args.oldname: args.newname }
     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)
 
     add_symbol_to_oldnames(header.name, args.oldname, args.newname)