| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| api-docs/html/ | H | - | - | 14,052 | 12,535 | |
| examples/ | H | - | - | 472 | 162 | |
| include/lutok/ | H | - | - | 19 | 11 | |
| m4/ | H | - | - | 1,777 | 1,457 | |
| 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.md | H A D | 31-Aug-2026 | 5.9 KiB | 183 | 131 | |
| Kyuafile | H A D | 23-Mar-2020 | 318 | 12 | 9 | |
| Makefile.am | H A D | 31-Aug-2026 | 7.5 KiB | 222 | 161 | |
| NEWS | H A D | 31-Aug-2026 | 2.9 KiB | 107 | 60 | |
| README.md | H A D | 31-Aug-2026 | 1.3 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 | |
| config.h.in | H A D | 31-Aug-2026 | 1.8 KiB | 67 | 45 | |
| configure.ac | H A D | 31-Aug-2026 | 2.8 KiB | 85 | 69 | |
| debug.cpp | H A D | 23-Mar-2020 | 5.1 KiB | 193 | 84 | |
| debug.hpp | H A D | 31-Aug-2026 | 2.9 KiB | 83 | 27 | |
| debug_test.cpp | H A D | 23-Mar-2020 | 2.5 KiB | 69 | 29 | |
| examples_test.sh | H A D | 31-Aug-2026 | 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 | 31-Aug-2026 | 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 | 31-Aug-2026 | 24.2 KiB | 905 | 403 | |
| state.hpp | H A D | 31-Aug-2026 | 4.6 KiB | 137 | 66 | |
| 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.md
1# Welcome to the Lutok project! 2 3Lutok is a **lightweight C++ API library** for Lua. 4 5Lutok provides thin C++ wrappers around the Lua C API to ease the 6interaction between C++ and Lua. These wrappers make intensive use of 7RAII to prevent resource leakage, expose C++-friendly data types, report 8errors by means of exceptions and ensure that the Lua stack is always 9left untouched in the face of errors. The library also provides a small 10subset of miscellaneous utility functions built on top of the wrappers. 11 12Lutok focuses on providing a clean and safe C++ interface; the drawback 13is that it is not suitable for performance-critical environments. In 14order to implement error-safe C++ wrappers on top of a Lua C binary 15library, Lutok adds several layers or abstraction and error checking 16that go against the original spirit of the Lua C API and thus degrade 17performance. 18 19For further information on the contents of this distribution file, 20please refer to the following other documents: 21 22* `AUTHORS`: List of authors and contributors to this project. 23* `COPYING`: License information. 24* `INSTALL.md:` Compilation and installation instructions. 25* `NEWS.md`: List of major changes between formal releases. 26 27For general project information, please visit [Lutok on GitHub](https://github.com/freebsd/lutok/) 28