search for: sv_isobject

Displaying 1 result from an estimated 1 matches for "sv_isobject".

Did you mean: rf_isobject
2011 Jun 28
2
minor Hivex.xs leaks
...3) croak_xs_usage(cv, "h, node, values"); PERL_UNUSED_VAR(ax); /* -Wall */ SP -= items; { hive_h * h; int node = (int)SvIV(ST(1)); pl_set_values values = unpack_pl_set_values (ST(2)); #line 477 "Hivex.xs" int r; #line 993 "Hivex.c" if (sv_isobject (ST(0)) && SvTYPE (SvRV (ST(0))) == SVt_PVMG) h = (hive_h *) SvIV ((SV *) SvRV (ST(0))); else { warn ("Win::Hivex::node_set_values(): h is not a blessed SV reference"); XSRETURN_UNDEF; }; #line 479 "Hivex.xs" r = hivex_node_set_value...