Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by NERDVANA (Deacon)
on Nov 24, 2022 at 04:37 UTC ( [id://11148348]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    "Renewc"
      The XSUB-writer's interface to the C "realloc" function, with cast.
    ...
      Memory obtained by this should ONLY be freed with "Safefree".
    
        void  Renewc(void* ptr, int nitems, type, cast)
    
  2. or download this
    message= (EdjeMessageStringSet*) safemalloc(
      sizeof(EdjeMessageStringSet) + (count-1)*sizeof(char*)
    )
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-19 10:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found