Patrick Dupre wrote:
Inside a c routine (ie. inside a .c file) is there any way to define a
variable of type SV (or SV *) ?

I think you need such function as :SV* newSViv ( IV i ); SV* newSVuv ( UV u ); SV* newSVnv ( NV n ) and SV* newSVpv ( char* string , STRLEN len ); (with libraries <EXTERN.h> and <perl.h>) See perldoc perlapi.

--
Best regards,
Ivan Gromov.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to