diff options
author | daurnimator <quae@daurnimator.com> | 2017-04-26 18:11:05 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-04-26 18:11:05 +1000 |
commit | 031f528d7b7b7c125fee24f1bd35550ebdcc7060 (patch) | |
tree | 136959852ab00f1d22a8e66a91f9951bd933d9b3 /src/lauxlib.js | |
parent | b688ef577a10e8b6f2cf948faaa8d1af70c7949c (diff) | |
download | fengari-031f528d7b7b7c125fee24f1bd35550ebdcc7060.tar.gz fengari-031f528d7b7b7c125fee24f1bd35550ebdcc7060.tar.bz2 fengari-031f528d7b7b7c125fee24f1bd35550ebdcc7060.zip |
Export lstate.js functions from lua.js
Diffstat (limited to 'src/lauxlib.js')
-rw-r--r-- | src/lauxlib.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lauxlib.js b/src/lauxlib.js index 7b5f958..055abcd 100644 --- a/src/lauxlib.js +++ b/src/lauxlib.js @@ -3,7 +3,6 @@ const assert = require('assert'); -const lstate = require('./lstate.js'); const lapi = require('./lapi.js'); const lua = require('./lua.js'); const ldebug = require('./ldebug.js'); @@ -202,7 +201,7 @@ const tag_error = function(L, arg, tag) { }; const luaL_newstate = function() { - let L = lstate.lua_newstate(); + let L = lua.lua_newstate(); if (L) lua.lua_atpanic(L, panic); return L; }; |