Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1211578]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-19 04:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found