469,906 Members | 2,180 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,906 developers. It's quick & easy.

#define in swig

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
0 610

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Ernie | last post: by
3 posts views Thread by Kevin Dahlhausen | last post: by
3 posts views Thread by It's me | last post: by
10 posts views Thread by Bart Ogryczak | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.