Constants in classes?

Dec. 27, 2007
11:12 a.m.
Hello, I am currently writing a python wrapper for the C++ SFML library ( http://sfml.sourceforge.net). I know there is PyModule_AddIntConstant for adding constants to a module, but how can I add a constant to one of my module's classes? Is there an easy way to wrap enumerations? Any help is appreciated :)
6287
Age (days ago)
6287
Last active (days ago)
0 comments
1 participants
participants (1)
-
Remi K.