Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by swl (Vicar)
on Nov 20, 2022 at 20:43 UTC ( #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? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2023-02-05 14:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (31 votes). Check out past polls.

    Notices?