forked from keplerproject/coxpcall
-
Notifications
You must be signed in to change notification settings - Fork 0
Coxpcall encapsulates the protected calls with a coroutine based loop, so errors can be dealed without the usual pcall/xpcall issues with coroutines.
bigcrush/coxpcall
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Coxpcall http://keplerproject.github.io/coxpcall/ Coxpcall encapsulates the protected calls with a coroutine based loop, so errors can be dealed without the usual pcall/xpcall issues with coroutines for Lua 5.1. Using Coxpcall usually consists in simply loading the module and then replacing Lua pcall and xpcall by copcall and coxpcall. Coxpcall is free software and uses the same license as Lua 5.1. Coxpcall can be downloaded from its GitHub page. You can also get Coxpcall using LuaRocks: luarocks install coxpcall Lua 5.2 was extended with the Coxpcall functionality and hence it is no longer required. The 5.2 compatibility by coxpcall means that it maintains backward compatibility while using the build in 5.2 implementation. History Coxpcall 1.15 [xx/xxx/xxxx] * Added 'running' function as coroutine.running replacement Coxpcall 1.14 [30/Jan/2013] * Lua 5.2 support * Fixed bug, handling nil parameters. Found by Thijs Schreijer Coxpcall 1.13 [19/May/2008] * Fixed bug [#5275], found by Gary NG
About
Coxpcall encapsulates the protected calls with a coroutine based loop, so errors can be dealed without the usual pcall/xpcall issues with coroutines.
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Lua 86.1%
- Makefile 13.9%