Explorar el Código

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

Sylvain hace 2 años
padre
commit
b116dd8eb8
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      src/dynapi/gendynapi.py

+ 5 - 0
src/dynapi/gendynapi.py

@@ -23,6 +23,11 @@
 #  When you add a public API to SDL, please run this script, make sure the
 #  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.
 #  output looks sane (git diff, it adds to existing files), and commit it.
 #  It keeps the dynamic API jump table operating correctly.
 #  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 re
 import os
 import os