lua-users home
lua-l archive

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


> Yeah, I'm aware of that, I just wanted to make sure that the lua_State
> doesn't store it's own original pointer value anywhere. But I already solved
> my problem in a much cleaner and better way...

Good for you, because lua_State does store its original pointer. It is
the `mainthread' field in the global state. (I have just remembered
that...)

-- Roberto