lua-users home
lua-l archive

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


Hi All
I have a requirement as below.


1. From C code, call lua function ( I know how to do it)
2. While lua function is being executed,  call a C function
3. Lua function returns
4. C code completes and program terminates

Hope it should be possible.

Can somebody please help me how to implement above point 2 (how to call a C function from Lua).

Thanks
Austin