From 7b844c5caf81ac843a210477ef47fd16e8af2f2c Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Thu, 2 Feb 2017 22:38:35 +0100 Subject: Lua VM --- src/lstate.js | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 src/lstate.js (limited to 'src/lstate.js') 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 -- cgit v1.2.3-54-g00ecf