in reply to Re^2: 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?
perlcall has a section on Returning a List of Values. If you don't want to flatten the hash into a list of values, consider returning a reference to the hash, by returning newSVrv(HV) (or whatever the magic C incantation would be, according to perlguts.
|
|---|