Merge from vendor branch TNF:
authorjmmv <jmmv>
Sun, 29 Jan 2012 20:59:59 +0000 (20:59 +0000)
committerjmmv <jmmv>
Sun, 29 Jan 2012 20:59:59 +0000 (20:59 +0000)
commit9c60d43ee5a1bbb9ec472d191b810f7e288a88a0
tree612f56079135b3ed4443dba4df461b1852b19626
parenta91c5dfd064e11530f18a5e480fe4eeb8b38f6f7
parent40bdcb17e34e476189d4ccbde837f90246b809f7
Merge from vendor branch TNF:
Initial import of lutok, version 0.1:

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.