aboutsummaryrefslogtreecommitdiff
path: root/src/lstate.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lstate.js')
-rw-r--r--src/lstate.js28
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