Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
admin/ | H | - | - | 262 | 141 | |
examples/ | H | - | - | 472 | 162 | |
include/lutok/ | H | - | - | 19 | 11 | |
m4/ | H | - | - | 513 | 473 | |
.gitignore | H A D | 23-Mar-2020 | 181 | 22 | 20 | |
.travis.yml | H A D | 23-Mar-2020 | 378 | 26 | 19 | |
AUTHORS | H A D | 23-Mar-2020 | 33 | 2 | 1 | |
COPYING | H A D | 23-Mar-2020 | 1.4 KiB | 28 | 24 | |
Doxyfile.in | H A D | 23-Mar-2020 | 2.2 KiB | 54 | 52 | |
INSTALL | H A D | 23-Mar-2020 | 5.7 KiB | 182 | 128 | |
Kyuafile | H A D | 23-Mar-2020 | 318 | 12 | 9 | |
Makefile.am | H A D | 23-Mar-2020 | 7.5 KiB | 222 | 161 | |
NEWS | H A D | 23-Mar-2020 | 1.9 KiB | 69 | 42 | |
README | H A D | 23-Mar-2020 | 1.2 KiB | 28 | 21 | |
c_gate.cpp | H A D | 23-Mar-2020 | 2.7 KiB | 77 | 19 | |
c_gate.hpp | H A D | 23-Mar-2020 | 2.6 KiB | 72 | 15 | |
c_gate_test.cpp | H A D | 23-Mar-2020 | 2.5 KiB | 75 | 34 | |
configure.ac | H A D | 23-Mar-2020 | 2.3 KiB | 71 | 55 | |
debug.cpp | H A D | 23-Mar-2020 | 5.1 KiB | 193 | 84 | |
debug.hpp | H A D | 23-Mar-2020 | 3.1 KiB | 91 | 35 | |
debug_test.cpp | H A D | 23-Mar-2020 | 2.5 KiB | 69 | 29 | |
examples_test.sh | H A D | 23-Mar-2020 | 3.8 KiB | 116 | 58 | |
exceptions.cpp | H A D | 23-Mar-2020 | 3.7 KiB | 127 | 49 | |
exceptions.hpp | H A D | 23-Mar-2020 | 2.6 KiB | 84 | 28 | |
exceptions_test.cpp | H A D | 23-Mar-2020 | 3.1 KiB | 89 | 45 | |
lutok.pc.in | H A D | 23-Mar-2020 | 197 | 9 | 7 | |
operations.cpp | H A D | 23-Mar-2020 | 5.4 KiB | 154 | 68 | |
operations.hpp | H A D | 23-Mar-2020 | 2.2 KiB | 56 | 16 | |
operations_test.cpp | H A D | 23-Mar-2020 | 10.9 KiB | 373 | 263 | |
stack_cleaner.cpp | H A D | 23-Mar-2020 | 3.3 KiB | 92 | 30 | |
stack_cleaner.hpp | H A D | 23-Mar-2020 | 3.2 KiB | 94 | 17 | |
stack_cleaner_test.cpp | H A D | 23-Mar-2020 | 3.4 KiB | 109 | 69 | |
state.cpp | H A D | 23-Mar-2020 | 24.2 KiB | 905 | 403 | |
state.hpp | H A D | 23-Mar-2020 | 4.8 KiB | 146 | 74 | |
state.ipp | H A D | 23-Mar-2020 | 2.3 KiB | 68 | 57 | |
state_test.cpp | H A D | 23-Mar-2020 | 33.4 KiB | 1,165 | 883 | |
test_utils.hpp | H A D | 23-Mar-2020 | 4.9 KiB | 142 | 51 |
README
1Lutok is a lightweight C++ API library for Lua. 2 3Lutok provides thin C++ wrappers around the Lua C API to ease the 4interaction between C++ and Lua. These wrappers make intensive use of 5RAII to prevent resource leakage, expose C++-friendly data types, report 6errors by means of exceptions and ensure that the Lua stack is always 7left untouched in the face of errors. The library also provides a small 8subset of miscellaneous utility functions built on top of the wrappers. 9 10Lutok focuses on providing a clean and safe C++ interface; the drawback 11is that it is not suitable for performance-critical environments. In 12order to implement error-safe C++ wrappers on top of a Lua C binary 13library, Lutok adds several layers or abstraction and error checking 14that go against the original spirit of the Lua C API and thus degrade 15performance. 16 17For further information on the contents of this distribution file, 18please refer to the following other documents: 19 20* AUTHORS: List of authors and contributors to this project. 21* COPYING: License information. 22* INSTALL: Compilation and installation instructions. 23* NEWS: List of major changes between formal releases. 24 25For general project information, please visit: 26 27 https://github.com/jmmv/lutok/ 28