lua-users home
lua-l archive

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


--- In lua-l@y..., Gaurav Kumar <gkumar@s...> wrote:
> Hi all,
>          I am a new user of Lua.
> I need to integrate code of Lua with C++.
> With C it is easy , just 'extern C'.
> Is there similar mechanism for Lua too,
> so that you can call C++ procedures from Lua
> and vice-versa.
> 
> Thanks
> Gaurav

You can also check FUBI (function binder) that will allow you to
take all exported functions from your DLL and EXE and use them 
from LUA *or any other embedding language. 
Scott Bilas is the creator of this system. A nice person also.
This system requieres a lot of work from your side but it deserves
the try.

http://www.drizzle.com/~scottb/gdc/fubi-paper.htm