in reply to Re^5: SV creation inside XS
in thread SV creation inside XS
HV* my_thing = something->get_from_somewhere(); // test if my_thing is blessed SV* tmp = newRV_noinc((SV*)my_thing); if (sv_isobject(tmp)) { // blah blah blah } SvREFCNT_dec(tmp); // I hate that!!!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: SV creation inside XS
by BrowserUk (Patriarch) on Nov 09, 2011 at 05:12 UTC | |
by llancet (Friar) on Nov 10, 2011 at 14:06 UTC |