summaryrefslogtreecommitdiff
path: root/src/lua.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua.js')
-rw-r--r--src/lua.js16
1 files changed, 16 insertions, 0 deletions
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