in reply to Re^4: SV creation inside XS
in thread SV creation inside XS
You could create a reference, then destroy it.
SV * rv = SvRV_noinc(sv); int blessed = sv_isobject(rv); SvREFCNT_dec(rv);
or you could use the equivalent
int blessed = SvOBJECT(sv);
I don't know if that's kosher, but I don't see it breaking.
|
|---|