[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: RE: realloc lua_State
- From: Andre de Leiradella <leiradella@...>
- Date: Thu, 18 Dec 2003 12:20:22 -0200
>>> with a suitable definition of LUA_USERSTATE
>
>like this:
>
>typedef struct
>{
> mydata...
>} LUA_USERSTATE;
>
>And you can also define lua_userstateopen(lua_State *L) that Lua will call
>just after allocating the space.
But then I'd have a different version of Lua for one project (I use Lua in
some other projects).
Andre de Leiradella
http://www.geocities.com/andre_leiradella/