./devel/lutok, Lightweight C++ API for Lua

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2018Q4, Version: 0.4nb3, Package name: lutok-0.4nb3, Maintainer: jmmv

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.



Package options: tests

Master sites:

SHA1: f13ea7cd8344e43c71c41f87c9fdbc2b9047a504
RMD160: 4eb9e52dda238ac6051c7d73fc481955b39e9079
Filesize: 478.096 KB

Version history: (Expand)