Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Pull request Compare This branch is 3 commits ahead, 390 commits behind master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
OpenGL
SDL
MultiThreadPOC.pl
README
SDLpp.pl
auto_constants.pl
const.pl
gl_const.pl
opengl_words.txt
sdl_const.pl
sdl_module_maker.pl
sdl_words.txt

README

README 

I couldn't get the scripts to work at all, so I added const.pl and uses this
to generate the scripts. const.pl is also responsible for making the constant
exporting backwards-compatible to SDL_perl 1.x.

Tels 2003/03/21

This directory contains a set of scripts for generating the
SDL::Constants and SDL::OpenGL::Constants modules.  They
work by using the C preprocessor and gcc to extract defined
values and enumerated field's numerical values and create
constant subroutines that are exported into the main namespace.

To add a new constant, simply add the name of the constant
to the *_words.txt file and run the applicable script.  
This will overwrite the lib/SDL/* file in question.

Dave				Tue Mar 11 21:58:03 EST 2003
Something went wrong with that request. Please try again.