Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
examples/ | H | 09-Jul-2024 | - | 403 | 131 | |
AUTHORS | H A D | 09-Jul-2024 | 33 | 2 | 1 | |
Atffile | H A D | 09-Jul-2024 | 207 | 12 | 9 | |
COPYING | H A D | 09-Jul-2024 | 1.4 KiB | 28 | 24 | |
Kyuafile | H A D | 09-Jul-2024 | 318 | 12 | 9 | |
NEWS | H A D | 09-Jul-2024 | 1.1 KiB | 43 | 25 | |
README | H A D | 09-Jul-2024 | 1.2 KiB | 28 | 21 | |
c_gate.cpp | H A D | 09-Jul-2024 | 2.7 KiB | 77 | 19 | |
c_gate.hpp | H A D | 09-Jul-2024 | 2.6 KiB | 72 | 15 | |
c_gate_test.cpp | H A D | 09-Jul-2024 | 2.5 KiB | 75 | 34 | |
debug.cpp | H A D | 09-Jul-2024 | 5.1 KiB | 193 | 84 | |
debug.hpp | H A D | 09-Jul-2024 | 3.1 KiB | 91 | 35 | |
debug_test.cpp | H A D | 09-Jul-2024 | 2.5 KiB | 69 | 29 | |
examples_test.sh | H A D | 09-Jul-2024 | 3.8 KiB | 115 | 57 | |
exceptions.cpp | H A D | 09-Jul-2024 | 3.7 KiB | 127 | 49 | |
exceptions.hpp | H A D | 09-Jul-2024 | 2.6 KiB | 84 | 28 | |
exceptions_test.cpp | H A D | 09-Jul-2024 | 3.1 KiB | 89 | 45 | |
lutok.pc.in | H A D | 09-Jul-2024 | 197 | 9 | 7 | |
operations.cpp | H A D | 09-Jul-2024 | 4.8 KiB | 144 | 64 | |
operations.hpp | H A D | 09-Jul-2024 | 2.1 KiB | 54 | 14 | |
operations_test.cpp | H A D | 09-Jul-2024 | 8.5 KiB | 297 | 197 | |
stack_cleaner.cpp | H A D | 09-Jul-2024 | 3.3 KiB | 92 | 30 | |
stack_cleaner.hpp | H A D | 09-Jul-2024 | 3.2 KiB | 94 | 17 | |
stack_cleaner_test.cpp | H A D | 09-Jul-2024 | 3.4 KiB | 109 | 69 | |
state.cpp | H A D | 09-Jul-2024 | 24 KiB | 893 | 398 | |
state.hpp | H A D | 09-Jul-2024 | 4.9 KiB | 145 | 73 | |
state.ipp | H A D | 09-Jul-2024 | 2.3 KiB | 68 | 57 | |
state_test.cpp | H A D | 09-Jul-2024 | 40 KiB | 1,401 | 1,081 | |
test_utils.hpp | H A D | 09-Jul-2024 | 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 http://code.google.com/p/lutok/ 28