Commit graph

10 commits

Author SHA1 Message Date
adam
4b3fe7d29a Revbump after updating lang/lua to 5.2.2. 2013-07-04 21:27:56 +00:00
jmmv
f0eccbad4c Update to 0.3:
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-06-15 00:30:31 +00:00
joerg
e9752c13da Regen. 2013-05-06 14:45:41 +00:00
joerg
2b68f9d7d6 When using libc++ or C++11, use the standard namespace. 2013-05-06 14:44:07 +00:00
asau
1685739ccc Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
jmmv
f5ae3e8fa0 These packages are all modified-bsd, not 2-clause-bsd. 2012-07-19 18:30:18 +00:00
jmmv
edc49e60ba Depend on atf-libs instead of atf. Bump PKGREVISION. 2012-07-01 15:29:08 +00:00
jmmv
c502628430 Update to 0.2:
Released on 2012/05/30.

* New global constants: globals_index.

* New methods added to the state class: get_metafield, get_metatable,
  insert, push_value, raw_get and raw_set.

* Acknowledged that Lua 5.2 is currently not supported.
2012-05-30 22:48:36 +00:00
jmmv
7eadd1d843 Add missing buildlink3.mk file; spotted by wiz@. 2012-02-26 14:02:31 +00:00
jmmv
a1230cdead 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.
2012-01-29 20:59:59 +00:00