From 95f7e532331217f3f14ef8f917134ab744da5068 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 18 Sep 2024 07:55:03 -0700
Subject: [PATCH] Added the examples directory to the API renaming tool
---
build-scripts/rename_api.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build-scripts/rename_api.py b/build-scripts/rename_api.py
index 7686d0723d416..605ffa0f3ec53 100755
--- a/build-scripts/rename_api.py
+++ b/build-scripts/rename_api.py
@@ -57,7 +57,7 @@ def main():
i += 2
regex = create_regex_from_replacements(replacements)
- for dir in ["src", "test", "include", "docs", "cmake/test"]:
+ for dir in ["src", "test", "examples", "include", "docs", "cmake/test"]:
replace_symbols_in_path(SDL_ROOT / dir, regex, replacements)
# Replace the symbols in documentation