Re: [PATCH] Use Glib's infrastructure for attaching magic



Florian Ragwitz <rafl debian org> writes:

I wondered that too. I briefly looked over how it's used and it turned
out to be used as a return-by-reference value in some glib callback.

Looks like it's only an IV passed out to the perl, and the newSVsv
copies to pass there anyway.

newCONSTSUB

On versions of perl that aren't buggy in this regard, it's not a leak.

Oh, I was getting at that the %p pointer in the sub name likely makes a
new name every time.



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