Re: XPUSHs

2008-08-26 Thread Rob Dixon
Patrick Dupre wrote: > > I need to make a XPUSHs of a referene on an array, but XPUSHs takes only > scalar, so it looks like that I need convert my AV* into a scalar > with a newSV, but I do not know exactly. > Can I have some help ? It would be better to calculate the amount of stack space you n

Re: XPUSHs

2008-08-26 Thread sisyphus
On Aug 25, 10:08 pm, [EMAIL PROTECTED] (Patrick Dupre) wrote: > Hello, > > I need to make a XPUSHs of a referene on an array, but XPUSHs takes only > scalar I find no problem in XPUSHs'ing an AV on perl 5.10. Here's a simple Inline::C demo: -- use warnings;