/scripts/README

http://github.com/PerlGameDev/SDL · #! · 19 lines · 14 code · 5 blank · 0 comment · 0 complexity · 847f13f8dc9cbf095b09b8d9e5b80e51 MD5 · raw file

  1. README
  2. I couldn't get the scripts to work at all, so I added const.pl and uses this
  3. to generate the scripts. const.pl is also responsible for making the constant
  4. exporting backwards-compatible to SDL_perl 1.x.
  5. Tels 2003/03/21
  6. This directory contains a set of scripts for generating the
  7. SDL::Constants and SDL::OpenGL::Constants modules. They
  8. work by using the C preprocessor and gcc to extract defined
  9. values and enumerated field's numerical values and create
  10. constant subroutines that are exported into the main namespace.
  11. To add a new constant, simply add the name of the constant
  12. to the *_words.txt file and run the applicable script.
  13. This will overwrite the lib/SDL/* file in question.
  14. Dave Tue Mar 11 21:58:03 EST 2003