Help for this page

Select Code to Download


  1. or download this
    my ($num, $str);
    sub_from_xs(\$num, \$str);
    
  2. or download this
    void
    sub_from_xs(SV *num, SV *str)
    ...
            sv_setiv_mg(SvRV(num), nx);
            sx = get_sx();
            sv_setpv_mg(SvRV(str), sx);