G/Morning,
On 10/06/2011 4:36 AM, Josh Goldberg wrote:
What I do is something like

AV *results;
results = newAV();
....
something = (AV *)SvRV(*other_av_thing);
....
av_store(results,i, something);
....
RETVAL = results;
sv_2mortal((SV *)RETVAL);
Have seen that method in several XS programs (and PerlXSTut iirc) but it is unclear if that works when 3 elements are to be returned; will have a closer look at the Perl XS docs...
Thx,
Norm

Reply via email to