in reply to Re^2: mapping a C structure with perlXS
in thread mapping a C structure with perlXS
not a struct (which is anonymous here). So you'd probably better:typedef struct { unsigned *char test;} s_test;
and see if this fixes your problem.typedef s_test Test; /* Removed "struct" */
Flavio (perl -e 'print(scalar(reverse("\nti.xittelop\@oivalf")))')
Don't fool yourself.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: mapping a C structure with perlXS
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 |