lua-users home
lua-l archive

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


You might be looking for lua_sethook:
http://www.lua.org/manual/5.1/manual.html#lua_sethook

~Jonathan

2010/12/11 Pastyl <pastyl5@prokonto.pl>:
> I have a question. Is there any way to start, stop and then start it again?
> I need to compile a program in lua, then execute 100 the user to do
> something in C, and again to perform 100 instructions from lua, and
> again to do something in C program in lua is free.
> Something like lua_do100bytecode (L)
>
>