summaryrefslogtreecommitdiff
path: root/src/lfunc.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-05-05 15:53:57 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-05-05 15:53:57 +0200
commite9db75fac5f5fb4e8a211f69560151fe4415f9d4 (patch)
treed1aeddd88a88a598503c2c87e0ef8a89406a6792 /src/lfunc.js
parentd4aa8fa4e548ef348753ef765f2680f1a188d145 (diff)
downloadfengari-e9db75fac5f5fb4e8a211f69560151fe4415f9d4.tar.gz
fengari-e9db75fac5f5fb4e8a211f69560151fe4415f9d4.tar.bz2
fengari-e9db75fac5f5fb4e8a211f69560151fe4415f9d4.zip
Renamed findupval to luaF_findupval
Diffstat (limited to 'src/lfunc.js')
-rw-r--r--src/lfunc.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lfunc.js b/src/lfunc.js
index 7b2c557..d9ac4db 100644
--- a/src/lfunc.js
+++ b/src/lfunc.js
@@ -52,7 +52,7 @@ const luaF_newLclosure = function(L, n) {
};
-const findupval = function(L, level) {
+const luaF_findupval = function(L, level) {
let pp = L.openupval;
let p = pp;
while (pp !== null && pp.v >= level) {
@@ -123,7 +123,7 @@ const luaF_getlocalname = function(f, local_number, pc) {
module.exports.MAXUPVAL = 255;
module.exports.Proto = Proto;
module.exports.UpVal = UpVal;
-module.exports.findupval = findupval;
+module.exports.luaF_findupval = luaF_findupval;
module.exports.luaF_close = luaF_close;
module.exports.luaF_getlocalname = luaF_getlocalname;
module.exports.luaF_initupvals = luaF_initupvals;