lua-users home
lua-l archive

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


William Roper wrote:
The reason I suggested a wrapper class, is just that I find it easier
if all the functions and data are wrapped up together in a nice class.
Just personal preference. The examples in the book use structs to
store user data.

I enjoyed using luabind (http://luabind.sourceforge.net/), probably because it had a Boost.Python (http://www.boost.org/) feel to it.

However, I wasn't phased by performance issues or size...so you might find luabind generates bulkier and/or slower code. It's certainly easier to use for exposing C++ code, as is, to Lua.

Hope this helps,
Regards
--
Jonathan Jacobs
Developer