Nathan Torkington <[EMAIL PROTECTED]> writes:
>Thanks to those who answered my question about the headers.  I have
>two new ones:
>
>Do I need an OUTPUT section in a case where I'm altering an SV*
>instead of a typemapped value?  For example:
>
>  void
>  twice(a)
>  SV *a
>  CODE:
>    sv_setiv(a, 2 * SvIV(a));
>  OUTPUT:
>    a

Not when OUTPUT is an SV. If it was IV (say) and got typemap'ed on the 
way in it would need typemap'ing on way out as well.

-- 
Nick Ing-Simmons

Reply via email to