Re: Embedding Kepler in Windows application
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Embedding Kepler in Windows application
- From: Папенков Николай <papenkov@...>
- Date: 2010年2月05日 09:58:24 +0500
On 03.02.2010 18:48, Fabio Mascarenhas wrote:
Hi,
I can add a compile-time option to Rings to replace the current
initialization (just a call to luaL_openlibs) with anything you want,
so you could define a function like
static void myapp_initializestate(lua_State *L) {
luaL_openlibs(L);
/* do stuff with loaders, preload etc. */
}
and then compile rings with -DRINGS_INITIALIZE=myapp_initializestate.
What do you think?
Hi,
Ok, good. I think it is good solution for the current Lua design. May be
in the future there will be means to transfer all sorts of objects
between Lua states.
BTW, how long is it take to release a new Rings?
Thanks.