Added documentation for rename_symbols.py

This commit is contained in:
Sam Lantinga committed 2022-12-23 15:58:15 -08:00
1 parent 759f98085a
commit fd0631fd35
2 files changed
+12 -2

No files matched your search

+3
View File
@@ -31,6 +31,9 @@
/* The new function names are recommended, but if you want to have the
* old names available while you are in the process of migrating code
* to SDL3, you can define `SDL_ENABLE_OLD_NAMES` in your project.
*
* You can use https://github.com/libsdl-org/SDL/blob/main/build-scripts/rename_symbols.py to mass rename the symbols defined here in your codebase:
* rename_symbols.py --all-symbols source_code_path
*/
#ifdef SDL_ENABLE_OLD_NAMES