summaryrefslogtreecommitdiff
path: root/src/lualib.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-02-15 09:22:11 +0100
committerBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-02-15 17:07:58 +0100
commitc428f1241ebd5194a37c37d9d5376b326b78ee37 (patch)
tree6e0357f728f525da8e27d73bcbc94ec8ce05c645 /src/lualib.js
parentf94e2902d6e2e45840c5a63d46c57ddd888b84b8 (diff)
downloadfengari-c428f1241ebd5194a37c37d9d5376b326b78ee37.tar.gz
fengari-c428f1241ebd5194a37c37d9d5376b326b78ee37.tar.bz2
fengari-c428f1241ebd5194a37c37d9d5376b326b78ee37.zip
Implementing minimal path from main to luaV_execute of user script
Diffstat (limited to 'src/lualib.js')
-rw-r--r--src/lualib.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lualib.js b/src/lualib.js
new file mode 100644
index 0000000..1eff812
--- /dev/null
+++ b/src/lualib.js
@@ -0,0 +1,11 @@
+/*jshint esversion: 6 */
+"use strict";
+
+const assert = require('assert');
+const lua = require('./lua.js');
+
+
+const LUA_VERSUFFIX = "_" + lua.LUA_VERSION_MAJOR + "_" + lua.LUA_VERSION_MINOR;
+
+
+module.exports.LUA_VERSUFFIX = LUA_VERSUFFIX; \ No newline at end of file