[PyQt] SIP: are C++ defined constants available in Python?
himork at kth.se
Mon Jan 18 10:25:58 GMT 2010
it is the first time I use SIP to wrap a C++ library. I managed to make my code work, but I have a question: I defined some constants in the C++ header file:
#define MAX_ITERATIONS 10
I would like to know if this constant is available (under a different name maybe?) in the python module. If it is not, how do I make it explicitly available? I looked for a specific Directive but couldn't find one.
Thank you in advance for the help,
| Fabiani Marco
| Speech, Music and Hearing, KTH
| Lindstedtsv. 24
| S-114 28 Stockholm (Sweden)
| Mobile: +46-(0)73-817 4751
| Office: +46-(0)8-790 7561
| Fax: +46-(0)8-790 7854
More information about the PyQt