[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: how does GC work with complex expressions using metamethods?
- From: Doug Currie <doug.currie@...>
- Date: Sun, 16 Aug 2009 14:47:20 -0400
On Aug 16, 2009, at 2:22 PM, Michael Newberry wrote:
This is what I was talking about when I asked about the carbage
collector "What defines being "used" by lua?"
It is considered used if Lua can find it by following references (but
NOT lightuserdata pointers) from global variables or the Lua stack.
For some reason, lua believes it is time for this userdata to be
deleted. Why?
Probably because you returned lightuserdata from CreadeData() instead
of userdata?
Where is the userdata being returned and/or stored?
e
- References:
- how does GC work with complex expressions using metamethods?, Michael Newberry
- Re: how does GC work with complex expressions using metamethods?, Javier Guerra
- Re: how does GC work with complex expressions using metamethods?, Michael Newberry
- Re: how does GC work with complex expressions using metamethods?, Peter Loveday
- Re: how does GC work with complex expressions using metamethods?, Michael Newberry
- Re: how does GC work with complex expressions using metamethods?, Michael Newberry
- Re: how does GC work with complex expressions using metamethods?, Sam Roberts
- Re: how does GC work with complex expressions using metamethods?, Michael Newberry
- Re: how does GC work with complex expressions using metamethods?, David Given
- Re: how does GC work with complex expressions using metamethods?, Sam Roberts
- Re: how does GC work with complex expressions using metamethods?, Michael Newberry