Commit Graph

6 Commits

Author SHA1 Message Date
jmmv a5687f3c3b Update reachover build files for lutok-0.3. 2013-10-18 23:36:10 +00:00
jmmv 9b0eec67b2 Import lutok-0.3.
The main reason for this update is the addition of support for Lua 5.2,
which we will want to import sometime.

Released on 2013/06/14.

* Issue 1: Added support for Lua 5.2 while maintaining support for Lua
  5.1.  Applications using Lutok can be modified to use the new
  interface in this new version and thus support both Lua releases.
  However, because of incompatible changes to the Lua API, this release
  of Lutok is incompatible with previous releases as well.

* Issue 3: Tweaked configure to look for Lua using the pkg-config names
  lua-5.2 and lua-5.1.  These are the names used by FreeBSD.

Interface changes:

* New global constants: registry_index.

* New methods added to the state class: get_global_table.

* Removed global constants: globals_index.
2013-10-18 23:35:23 +00:00
joerg 36a6d19157 Handle dependency on libstdc++ / libc++ in bsd.lib.mk. 2013-09-12 17:14:20 +00:00
jmmv 9c6c1d3b56 Install lutok's missing test_utils.hpp header file. 2013-02-22 15:14:29 +00:00
jmmv 41ab123075 Add reachover build files for the newly-imported Lutok. 2013-02-16 21:29:45 +00:00
jmmv a15637525a Initial import of Lutok, version 0.2.
This is a required component of Kyua and its build will be guarded by
the MKKYUA knob.  core@ has approved this import.

Description:

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.
2013-02-16 15:06:52 +00:00