Lightweight C++ API for Lua
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
admin
examples
include/lutok
m4
.gitignore
.travis.yml
AUTHORS
COPYING
Doxyfile.in
INSTALL
Kyuafile
Makefile.am
NEWS
README
c_gate.cpp
c_gate.hpp
c_gate_test.cpp
configure.ac
debug.cpp
debug.hpp
debug_test.cpp
examples_test.sh
exceptions.cpp
exceptions.hpp
exceptions_test.cpp
lutok.pc.in
operations.cpp
operations.hpp
operations_test.cpp
stack_cleaner.cpp
stack_cleaner.hpp
stack_cleaner_test.cpp
state.cpp
state.hpp
state.ipp
state_test.cpp
test_utils.hpp

README

Lutok is a lightweight C++ API library for Lua.

Lutok provides thin C++ wrappers around the Lua C API to ease the
interaction between C++ and Lua.  These wrappers make intensive use of
RAII to prevent resource leakage, expose C++-friendly data types, report
errors by means of exceptions and ensure that the Lua stack is always
left untouched in the face of errors.  The library also provides a small
subset of miscellaneous utility functions built on top of the wrappers.

Lutok focuses on providing a clean and safe C++ interface; the drawback
is that it is not suitable for performance-critical environments.  In
order to implement error-safe C++ wrappers on top of a Lua C binary
library, Lutok adds several layers or abstraction and error checking
that go against the original spirit of the Lua C API and thus degrade
performance.

For further information on the contents of this distribution file,
please refer to the following other documents:

* AUTHORS: List of authors and contributors to this project.
* COPYING: License information.
* INSTALL: Compilation and installation instructions.
* NEWS: List of major changes between formal releases.

For general project information, please visit:

    https://github.com/jmmv/lutok/