Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Perl XS binding to a struct with an array of chars*

by swl (Parson)
on Nov 20, 2022 at 20:43 UTC ( [id://11148279]=note: print w/replies, xml ) Need Help??


in reply to Perl XS binding to a struct with an array of chars*

It might also be worth looking at FFI::Platypus. A recent update includes the ability to handle structs: https://metacpan.org/pod/FFI::Platypus#Structured-Data-Records-(by-pointer-or-by-reference).

Just a data point, as you might already have a decent sized code base written beyond what you have shown.

  • Comment on Re: Perl XS binding to a struct with an array of chars*

Log In?
Username:
Password:

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

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

    No recent polls found