and in thetypemap file i added the following line :#include "EXTERN.h" #include "perl.h" #include "XSUB.h" #include "ppport.h" #include "test.h" typedef struct s_test Test; MODULE = Tests PACKAGE = Tests void my_function(ptr_struct) Test * ptr_struct
thank you very muchTest * T_PTROBJ
In reply to Re^2: mapping a C structure with perlXS
by jeanba
in thread mapping a C structure with perlXS
by jeanba
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |