mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-19 17:58:13 +00:00
gendynapi.py: add comment for OS-specific API (Thanks @DanielGibson!)
This commit is contained in:
@@ -23,6 +23,11 @@
|
||||
# When you add a public API to SDL, please run this script, make sure the
|
||||
# output looks sane (git diff, it adds to existing files), and commit it.
|
||||
# It keeps the dynamic API jump table operating correctly.
|
||||
#
|
||||
# OS-specific API:
|
||||
# After running the script, you have to manually add #ifdef __WIN32__
|
||||
# or similar around the function in 'SDL_dynapi_procs.h'
|
||||
#
|
||||
|
||||
import re
|
||||
import os
|
||||
|
Reference in New Issue
Block a user