Re: gperl_callback_invoke userdata copy



muppet <scott asofyet org> writes:

It's safer and more correct to use the copy,

Does it also work to SvREFCNT_inc and sv_mortal, instead of a copy as
such?  I guess the difference is then assigning to $_[-1] would modify
the stored userdata for subsequent calls, would it?  (Maybe a good
thing, maybe a very bad thing! :-).


-- 
Legal latin elucidated for the layman:
"De Minimis Non Curat Lex" -- the law can't help short people.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]