in reply to Re: xs modifying passed value
in thread xs modifying passed value
I'm swimming in all this Sv SV PV Pv Rv RV blah blah ... :(
Simple is my pleasure, I'll complicate it as my mind expands, hopefully before it explodes!
Just noticed I forgot the proto for mylib strToInt in my OP, Here it is:
int strToInt(bool *ok) const;
I do have stepping capabilities on each side of the fence, Perl and C, Just not across.
Qt Creator w/dbg on the C/C++ side and of course Perldbg on the Perl side.
I have many times ran them together to see both sides of the fence, nothing jumps out at me other then the passed value between Perl and XS doesn't get modified, Between XS and my Lib does as shown by the printf(...)'s in the XS.
I do have many other functions that work fine, though none of them require a passed argument modification and were for the most part simple. (looking back :))
Shoot, I figured out without asking for help how to do the new() that has variable arguments as well as several different argument types and got it all to work, so far perf!, but this stupid modified passed argument has me stumped. Arrrrgggg!
Thanks
-Enjoy
fh : )_~
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: xs modifying passed value
by bulk88 (Priest) on Nov 17, 2012 at 22:55 UTC | |
by Festus Hagen (Acolyte) on Nov 18, 2012 at 00:11 UTC |