gendynapi.py: add comment for OS-specific API (Thanks @DanielGibson!)

This commit is contained in:
Sylvain 2022-12-09 09:27:19 +01:00
parent cfa493c97f
commit b116dd8eb8
No known key found for this signature in database
GPG Key ID: 5F87E02E5BC0939E
1 changed files with 5 additions and 0 deletions

View File

@ -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