in reply to 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
Thks,
This is what I've been looking at. The example doesn't use references, though example 6 does. I can try to meld both together so that I can call:
find_index($key, \$data);
I guess a lot depends on how SvPV works. If it copies the data then I need another method.
dino
In Section
Seekers of Perl Wisdom