opnsense-src/contrib/lutok
John Baldwin 64311997dd lutok: Switch from std::auto_ptr<> to std::unique_ptr<>
This mirrors upstream commit bd5904144c9778a07685f3e4efa6ef011a5480ec.

Reviewed by:	igoro, imp, emaste
Differential Revision:	https://reviews.freebsd.org/D49788

(cherry picked from commit 25f2634a1f)
2026-02-24 13:25:07 +01:00
..
admin
examples
include/lutok
m4
.gitignore Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
.travis.yml Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
AUTHORS Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
c_gate.cpp Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
c_gate.hpp Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
c_gate_test.cpp Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
configure.ac Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
COPYING Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
debug.cpp Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
debug.hpp Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
debug_test.cpp Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
Doxyfile.in Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
examples_test.sh Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
exceptions.cpp Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
exceptions.hpp Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
exceptions_test.cpp Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
INSTALL Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
Kyuafile Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
lutok.pc.in Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
Makefile.am Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
NEWS Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
operations.cpp Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
operations.hpp Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
operations_test.cpp Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
README Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
stack_cleaner.cpp Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
stack_cleaner.hpp lutok: Switch from std::auto_ptr<> to std::unique_ptr<> 2026-02-24 13:25:07 +01:00
stack_cleaner_test.cpp Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
state.cpp Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
state.hpp Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
state.ipp Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
state_test.cpp Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00
test_utils.hpp Add liblutok a lightweight C++ API for lua. 2020-03-23 18:26:23 +00:00

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/