Help for this page

Select Code to Download


  1. or download this
    SV *
    xs_new( ... )
    ...
        size_t used= constructor( buf, len, ... );
        // Tell Perl how much of the buffer is actually in use:
        SvCUR_set( RETVAL, used );