PageRenderTime 18ms CodeModel.GetById 15ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 1ms

/scripts/README

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