aboutsummaryrefslogtreecommitdiff
path: root/src/lua.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-02-02 08:30:20 +0100
committerBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-02-02 08:48:32 +0100
commit04a7b7322446eae0f5da66bedc1e262a7d83419d (patch)
tree635af4541d978c5331ea37091e225d7c0688e2b3 /src/lua.js
parentfa7ce109418aca2fd60fdb65b4b2451c4854dd09 (diff)
downloadfengari-04a7b7322446eae0f5da66bedc1e262a7d83419d.tar.gz
fengari-04a7b7322446eae0f5da66bedc1e262a7d83419d.tar.bz2
fengari-04a7b7322446eae0f5da66bedc1e262a7d83419d.zip
readHeader
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