By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,358 Members | 1,197 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,358 IT Pros & Developers. It's quick & easy.

#define in swig

P: n/a
I've a problem with python wrapper of C library. In a library's file
there are #define istruction but I can't access it from python. Other
functio works correctly.
The define istruction is like this:
#define START_OF_D _table_element=_mainsys-
#define START_OF_X _table_element=_mainsys-
#define START_OF_MAT(set,num)
_table_element=(set),_table_end=_table_element+(nu m)*_mainsys-
#define END_OF_MAT (_table_element<_table_end)
#define NEXT_OF_MAT _table_element+=_mainsys->setAsize
#define ELEM_OF_MAT _table_element
#define ElemOfRule(rules,num,attr) (rules)[(num)*(_mainsys-

Jun 27 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.