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")In reply to (tye)Re2: Passing reference to perl from C code
by tye
in thread Passing reference to perl from C code
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |