Module for liblua

Peter Kümmel syntheticpp at gmx.net
Wed Nov 23 22:00:56 CET 2005


Scott Newton wrote:

>>And how do they bind to C++? I assume they don't use luabind.
> 
> I'm not sure I understand the question - lua is written in C.

If you want to use C-function inside a lua script you have to
export the C-function to lua. You can do this 'by hand' with
the lua api or by a library e.g. luabind or tolua.

Peter



More information about the Kde-buildsystem mailing list