diff options
author | daurnimator <quae@daurnimator.com> | 2017-04-26 17:15:37 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-04-26 17:21:52 +1000 |
commit | 46049c9df73a446192957af1f50df19167c79f07 (patch) | |
tree | e055ff69c29a6faf8aec40cd2dc47bb5e245ce05 /tests/manual-tests/lua-cli.js | |
parent | ef7bc7c1f8684af04da5d9e91fecf6ce82ecf397 (diff) | |
download | fengari-46049c9df73a446192957af1f50df19167c79f07.tar.gz fengari-46049c9df73a446192957af1f50df19167c79f07.tar.bz2 fengari-46049c9df73a446192957af1f50df19167c79f07.zip |
Remove lua.CT and lua.constant_types (still available from defs)
Diffstat (limited to 'tests/manual-tests/lua-cli.js')
-rwxr-xr-x | tests/manual-tests/lua-cli.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual-tests/lua-cli.js b/tests/manual-tests/lua-cli.js index f11e833..322a963 100755 --- a/tests/manual-tests/lua-cli.js +++ b/tests/manual-tests/lua-cli.js @@ -193,7 +193,7 @@ for (let i = 1; i < script; i++) { } const pushargs = function(L) { - if (lapi.lua_getglobal(L, lua.to_luastring("arg")) !== lua.constant_types.LUA_TTABLE) + if (lapi.lua_getglobal(L, lua.to_luastring("arg")) !== lua.LUA_TTABLE) lauxlib.luaL_error(L, lua.to_luastring("'arg' is not a table")); let n = lauxlib.luaL_len(L, -1); lauxlib.luaL_checkstack(L, n+3, lua.to_luastring("too many arguments to script")); |