Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Re: Re: Passing a very large string by reference to a c library

by dino (Sexton)
on Jul 12, 2001 at 20:03 UTC ( #96085=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Passing a very large string by reference to a c library
in thread Passing a very large string by reference to a c library

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

  • Comment on Re: Re: Re: Re: Passing a very large string by reference to a c library

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://96085]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2023-05-31 04:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?