[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua+wxWidgets+SWIG
- From: Dzmitry Hancharou <red1ynx@...>
- Date: Tue, 27 Oct 2009 13:13:42 +0200
I tested wxLua/apps/wxluacan sample app. In this case from C++ module we can run lua-scripts. These scripts can only use those parent modules. That is:
mod1 = module1.getInst()
mod1:func1();
mod1:func2(params);
and no more.
And if I add a functional, I need to modify i-file and recompile the entire project.
I want to break a problem into several parts like this:
mod1 = module1.getInst()
mod2 = module2.getInst()
mod1:doIt(mod2:getIt())
In this case if I want to change the first module, I did not recompile the second.
Does anyone know how this can be done?