from the perlapi manpage:
SvPV Returns a pointer to the string in the SV, or a
stringified form of the SV if the SV does not con-
tain a string. Handles 'get' magic.
char* SvPV(SV* sv, STRLEN len)
so that should do it
dino
In reply to Re: Re: Re: Re: Passing a very large string by reference to a c library
by dino
in thread Passing a very large string by reference to a c library
by dino
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |