Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Managing C library memory in XS

by petermogensen (Sexton)
on May 05, 2014 at 12:08 UTC ( [id://1085049]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    typedef struct _person { char* name, ... } *person;
    
    ...
    
    int record_get_person(record r, person *out_person_notfreeable);
    /* out_person_notfreeable is owned by the record object and must not b
    +e freed */
    
  2. or download this
    OUTPUT
    
    T_MYOBJPRT
        sv_setref_pv($arg, \"${ntype}\", (void*)$var);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1085049]
Approved by salva
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-03-19 09:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found