File: README

package info (click to toggle)
sdlperl 1.20.3dfsg-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,808 kB
  • ctags: 2,171
  • sloc: perl: 7,394; ansic: 232; makefile: 76; sh: 1
file content (19 lines) | stat: -rw-r--r-- 736 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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