in reply to Re: mapping a C structure with perlXS
in thread mapping a C structure with perlXS
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: mapping a C structure with perlXS
by polettix (Vicar) on May 20, 2005 at 15:01 UTC | |
by jeanba (Novice) on May 20, 2005 at 15:23 UTC | |
by polettix (Vicar) on May 20, 2005 at 16:21 UTC | |
by jeanba (Novice) on Jun 27, 2005 at 12:17 UTC |