![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re: Re: Re: Re: Passing a very large string by reference to a c libraryby dino (Sexton) |
on Jul 12, 2001 at 20:03 UTC ( #96085=note: print w/replies, xml ) | Need Help?? |
And finally, 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 Section
Seekers of Perl Wisdom
|
|