Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Passing a structure from C to Perl

by pwagyi (Monk)
on Mar 23, 2018 at 01:19 UTC ( [id://1211578] : note . print w/replies, xml ) Need Help??


in reply to Passing a structure from C to Perl

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?