Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 ( [id://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?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-18 04:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found