BSD Ports

devel/lutok 0.6.3 NetBSD

Lightweight C++ API for Lua

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
bf6da4340a
License
modified-bsd
Categories
devel
Package size
155.3 KiB, 1129.0 KiB installed

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.

In the other systems

SystemPortVersion
NetBSDdevel/lutok0.6.3
FreeBSDdevel/lutok0.6.3
OpenBSDdevel/lutok0.6.3
DragonFlydevel/lutok0.6.1
MidnightBSDdevel/lutok0.6.1
HardenedBSDdevel/lutok0.6.2
GhostBSDdevel/lutok0.6.2

Install

Binary package:

pkgin install lutok

From pkgsrc:

cd /usr/pkgsrc/devel/lutok && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.6.3
NetBSD 10.1 aarch640.6.2
SmartOS / illumos x86_640.6.3
macOS 15 arm640.6.3

Dependencies

Run dependencies 2
Required by 1

Commit history 1

DateCommitCreditsLog message
bf6da4340a adam lutok: updated to 0.6.3
0.6.3 This release contains [mostly] developer-workflow related changes. Many of these changes were ported over from the [freebsd/atf](https://github.com/freebsd/atf) repository.