lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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?