On Aug 30, 3:01 am, [EMAIL PROTECTED] (Patrick Dupre) wrote:
.
.
> I do:
> AV* av ;
>
> then av = (AV*) svRV (retval) ;
>
Looks ok to me. Install Inline::C so that you can quickly and easily
test things out:
use warnings;
use strict;
use Inline C => Confi
Calling a sub from perl, if this sub return an address on an array,
it is not a problem, perl seems to manage correctly the memory to
keep allocated, and I can access to the data through the reference
at any time.
Making the same call from a CPP method seems not to work.
If I quit the method and
Patrick Dupre wrote:
>
> Calling a sub from perl, if this sub return an address on an array,
> it is not a problem, perl seems to manage correctly the memory to
> keep allocated, and I can access to the data through the reference
> at any time.
>
> Making the same call from a CPP method seems not
Hello,
Calling a sub from perl, if this sub return an address on an array,
it is not a problem, perl seems to manage correctly the memory to
keep allocated, and I can access to the data through the reference
at any time.
Making the same call from a CPP method seems not to work.
If I quit the met