[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Game Integration
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 20 May 2003 22:14:50 -0300
>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