in reply to Re: (tye)Re: Passing reference to perl from C code
in thread Passing reference to perl from C code

Is there any way to push the address of the string using XPUSHs() and that string can be used by the perl script?

I suggest you reread my previous reply as you don't appear to have understood it. The answer is "no". The best you can do is not recreate the SV equivalent of each string over and over.

        - tye (but my friends call me "Tye")
  • Comment on (tye)Re2: Passing reference to perl from C code