in reply to Re^7: Inline CPP
in thread Inline CPP
I understand that I shouldn't have initialized the AV* inside the cpp code, but only outside in the perl code as you did. Thanks again!void add_nir(int x, int y, AV * perlList) { SV* perlItem=newSViv(2); av_push(perlList, perlItem); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Inline CPP
by syphilis (Archbishop) on Jun 04, 2008 at 03:08 UTC |