We am trying to develop a plug in based framework that allow dynamic loading
of code that should be accessable in Lua by using the wxLua binding tools to
create bindings for the plug ins.
Initially we bind the traditional wxLua stuff; wxLuaBinding_wxlua_init() and
wxLuaBinding_wx_init() plus some of our own binding code then we create a
new lua state using _luaState = new wxLuaState(this, wxID_ANY). This works
fine and we are able to access the expected classes / functions in Lua.
Now after the wxLuaState is created we would like to add additional bindings
to the current lua state (we only have one state for now) but we are unable
to find any straight forward way of doing this. We fear that recreating the
wxLuaState or un-regestring / re-regestring the bindings we could possibly
invalidate the lua states and cause problems.
Have any of you been successful in doing this kind of 'late binding' or have
any pointers as to what we should try out ?
- Frode Aarstad
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users