diff options
author | Benoit Giannangeli <giann008@gmail.com> | 2017-02-02 22:38:35 +0100 |
---|---|---|
committer | Benoit Giannangeli <benoit.giannangeli@boursorama.fr> | 2017-02-03 07:07:35 +0100 |
commit | 7b844c5caf81ac843a210477ef47fd16e8af2f2c (patch) | |
tree | 5464f83feb24355ebe67f8d0f4b41a1a76227ad0 /src/lstate.js | |
parent | 9f222971e304d4ec03a3af9015744530f2c8793d (diff) | |
download | fengari-7b844c5caf81ac843a210477ef47fd16e8af2f2c.tar.gz fengari-7b844c5caf81ac843a210477ef47fd16e8af2f2c.tar.bz2 fengari-7b844c5caf81ac843a210477ef47fd16e8af2f2c.zip |
Lua VM
Diffstat (limited to 'src/lstate.js')
-rw-r--r-- | src/lstate.js | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/lstate.js b/src/lstate.js deleted file mode 100644 index 979b89c..0000000 --- a/src/lstate.js +++ /dev/null @@ -1,28 +0,0 @@ -/*jshint esversion: 6 */ -"use strict"; - -const thread_status = require('./lua.js').thread_status; - -class lua_State { - - constructor() { - this.next = null; - this.stack = null; - this.ci = null; - this.nci = 0; - this.stacksize = 0; - this.twups = [this]; - this.errorJmp = null; - this.hook = null; - this.allowhook = true; - this.openupval = null; - this.nny = 1; - this.status = thread_status.LUA_OK; - this.errfunc = 0; - } - -} - -module.exports = { - lua_State: lua_State -};
\ No newline at end of file |