BSD Ports

devel/coxpcall 1.13.0p4 OpenBSD

encapsulate protected Lua calls with a coroutine based loop

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel, lang/lua

Description

Coxpcall encapsulates the protected calls with a coroutine based loop, so errors can be handled without the usual pcall/xpcall issues with coroutines.

Using Coxpcall usually consists in simply loading the module and then replacing Lua pcall and xpcall by copcall and coxpcall.

Install

Binary package:

pkg_add lua-coxpcall

From the ports tree:

cd /usr/ports/devel/coxpcall && make install

Dependencies

Run dependencies 1

No port depends on this one.