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.
In reply to Re^5: SV creation inside XS
by ikegami
in thread SV creation inside XS
by llancet
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |