in reply to Re: Calling PERL from C code - How to "build" a hash on the PERL stack before calling the function?
in thread Calling PERL from C code - How to "build" a hash on the PERL stack before calling the function?
Hi,
You have helped a lot! Thank you!
How do I push the HV to the PERL stack?
Currently I use:
XPUSHs(sv_2mortal(newSViv((unsigned int)cbCtx)));
To push integer to the stack. I've searched for 'newSVhv' and it is not present. How should it be done?
Thanks again!
Itamar
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Calling PERL from C code - How to "build" a hash on the PERL stack before calling the function?
by Corion (Patriarch) on Jul 07, 2014 at 09:16 UTC | |
|
Re^3: Calling PERL from C code - How to "build" a hash on the PERL stack before calling the function?
by tobyink (Canon) on Jul 07, 2014 at 13:53 UTC |