[capi-sig] Constants in classes?

Remi K. remi.k2620 at gmail.com
Thu Dec 27 12:12:58 CET 2007


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 :)


More information about the capi-sig mailing list