From 04a7b7322446eae0f5da66bedc1e262a7d83419d Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Thu, 2 Feb 2017 08:30:20 +0100 Subject: readHeader --- src/lua.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/lua.js (limited to 'src/lua.js') diff --git a/src/lua.js b/src/lua.js new file mode 100644 index 0000000..f41991e --- /dev/null +++ b/src/lua.js @@ -0,0 +1,16 @@ +/*jshint esversion: 6 */ +"use strict"; + +const thread_status = { + LUA_OK: 0, + LUA_YIELD: 1, + LUA_ERRRUN: 2, + LUA_ERRSYNTAX: 3, + LUA_ERRMEM: 4, + LUA_ERRGCMM: 5, + LUA_ERRERR: 6 +}; + +module.exports = { + thread_status: thread_status +}; \ No newline at end of file -- cgit v1.2.3-54-g00ecf