I am not exactly expert on swig/XS, but can't you pass C struct as hash to perl? So if there's a new field in struct, you only have to change type map?
In reply to Re: Passing a structure from C to Perl
by pwagyi
in thread Passing a structure from C to Perl
by drpraveena
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |