diff options
author | daurnimator <quae@daurnimator.com> | 2017-05-03 19:06:36 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-05-03 19:06:36 +1000 |
commit | 4cf090d7ede6aa3153ad912c580cfb07b1e60a9d (patch) | |
tree | dedecdebe2577103764331fe0367cfd1bfbb95df /src/ltablib.js | |
parent | 4531d2c6485f1bda6243949adadbdec04fd2e22d (diff) | |
download | fengari-4cf090d7ede6aa3153ad912c580cfb07b1e60a9d.tar.gz fengari-4cf090d7ede6aa3153ad912c580cfb07b1e60a9d.tar.bz2 fengari-4cf090d7ede6aa3153ad912c580cfb07b1e60a9d.zip |
luaL_Buffer constructor shouldn't take a lua state
It gets set in luaL_buffinit
Diffstat (limited to 'src/ltablib.js')
-rw-r--r-- | src/ltablib.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ltablib.js b/src/ltablib.js index 57cff9d..56ba2cd 100644 --- a/src/ltablib.js +++ b/src/ltablib.js @@ -133,7 +133,7 @@ const tconcat = function(L) { let i = lauxlib.luaL_optinteger(L, 3, 1); last = lauxlib.luaL_optinteger(L, 4, last); - let b = new lauxlib.luaL_Buffer(L); + let b = new lauxlib.luaL_Buffer(); lauxlib.luaL_buffinit(L, b); for (; i < last; i++) { |