lua-users home
lua-l archive

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


>I still cannot see how I can get the C code working. How do I stop my lua_dofile from blocking my applications main loop from executing?

Define functions, objects and methods in the script only. In this way,
lua_dofile always terminates fast. Then, in your main loop, call Lua
function and objects methods.
--lhf