lua-users home
lua-l archive

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


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