diff options
author | daurnimator <quae@daurnimator.com> | 2017-05-03 10:40:03 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-05-03 10:40:23 +1000 |
commit | 50820e54d065bffbb504e6b20b6c27802e102c25 (patch) | |
tree | 0bf23a57dbec7a9924225ea4fefa64d2a91eeb19 /src/lapi.js | |
parent | d3f25451a6f2f4c07c3e47d9a92a5917ca8b1e10 (diff) | |
download | fengari-50820e54d065bffbb504e6b20b6c27802e102c25.tar.gz fengari-50820e54d065bffbb504e6b20b6c27802e102c25.tar.bz2 fengari-50820e54d065bffbb504e6b20b6c27802e102c25.zip |
src/lapi.js: Fix typo in aux_upvalue
Diffstat (limited to 'src/lapi.js')
-rw-r--r-- | src/lapi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lapi.js b/src/lapi.js index 6b853ae..a336220 100644 --- a/src/lapi.js +++ b/src/lapi.js @@ -486,7 +486,7 @@ const lua_newuserdata = function(L, size) { const aux_upvalue = function(L, fi, n) { switch(fi.ttype()) { - case CT.LUAT_TCCL: { /* C closure */ + case CT.LUA_TCCL: { /* C closure */ let f = fi.value; if (!(1 <= n && n <= f.nupvalues)) return null; return { |