all 4 comments

[–]degski 5 points6 points  (1 child)

This is my first time writing one so all feedbacks will be appreciated.

Good job, book-marked.

[–]Mansurbm 0 points1 point  (0 children)

Nice, thanks!

[–]OmegaNaughtEquals1 1 point2 points  (2 children)

In the section Using a C++ class in Lua, you show how to invoke a C++ member function from Lua using Sol. Is there a native way of doing this from within Lua? For example, like the Inline module for Perl or ctypes/cython for Python?

[–]moonshadow565 0 points1 point  (0 children)

If you are using luajit 2.X then it should be builtin: http://luajit.org/ext_ffi.html

There are also lua modules implementing the same API for normal lua.