TYPEMAP cstruct * T_OBJECT #### cstruct * new( field ) int field; CODE: if( something_wrong() ) { /*** is this correct below??? ***/ RETVAL = (cstruct *)&PL_sv__undef; } OUTPUT: RETVAL