[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: realloc lua_State
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 18 Dec 2003 10:18:10 -0200
> 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