Help for this page

Select Code to Download


  1. or download this
    INPUT
    T_PTROBJ
        if (sv_derived_from($arg, \"${ntype}\")) {
    ...
    OUTPUT
    T_PTROBJ
        sv_setref_pv($arg, \"${ntype}\", (void*)$var);
    
  2. or download this
    sv_setref_pv(ST(0),"cstruct",(void*)&PL_sv__undef);
  3. or download this
    OUTPUT
    OUTPUT
    T_PTROBJ
    ...
            sv_setref_pv($arg, \"${ntype}\", (void*)$var);
        else
            sv_setsv( $arg, &PL_sv__undef );