Re: finalizer not called for userdata created inside finalizer
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: finalizer not called for userdata created inside finalizer
- From: liam mail <liam.list@...>
- Date: 2012年4月10日 23:23:17 +0100
On 10 April 2012 22:50, Josh Haberman <jhaberman@gmail.com> wrote:
> lua_newuserdata(L, 0);
Is this valid? I just had a quick look at the online 5.2 source and
this will create and object of size Udata yet lua_newuserdata will
increment the pointer past the Udata and returns that pointer. Which
from the looks of it is not a valid pointer. [1]
[1] this may not have anything todo with the error.
liam