lua-users home
lua-l archive

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




---------- Forwarded message ----------
From: V.N. Raju <iamvnraju@gmail.com>
Date: Tue, Jul 22, 2008 at 1:39 PM
Subject: Samle code for using LuaJIT from C
To: lua@bazar2.conectiva.com.br


Hi,

Can anyone direct me to some kind of sample code for using
LuaJIT with C.
I have this app in which lua scripts call registered C functions in my host app.
Now I want to use LuaJIT (from improving performance)
and would like to know how to go about it.
Any kind of inputs/directions will be appreciated.

Thanks
V.N.Raju

Hi,

Btw I am using luaL_loadfile() for loading the lua scripts from my host application which is in C.

Thanks,
V.N.Raju