Skip to content

Latest commit

 

History

History

generate

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Run generate.sh on Linux to (re)create src/csfml_*_gen.nim source files based on CSFML's header files.

This automatic generator expects the header files to be in CSFML/include/SFML. It requires Python 3.3+ and pycparser.

The generator's code is very messy, and there some specific replacements that make the word "automatic" a bit dishonest. Still, it should allow transitioning to new CSFML versions with little to no intervention.