Help for this page

Select Code to Download


  1. or download this
    GV *to_string = gv_fetchmethod (SvSTASH (sv), "toString");
    if (to_string) {
    ...
        FREETMPS;
        LEAVE;
    }
    
  2. or download this
    void
    func (SV *scalar)
    ...
            SvPOK_only(result);
            serialize(result, scalar);
            XPUSHs(result);
    
  3. or download this
    SV*
    func (SV *scalar)
    ...
            RETVAL = result;
        OUTPUT:
            RETVAL