aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-10-21 09:18:13 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-10-21 09:18:13 -0300
commitb85816b9a884cbe4cfd139a8e11ffc28ecead576 (patch)
tree0bc645f14b899169fab9d99a174661156bfa40ae
parentc954db39241a8b21d7b32b42b87a066b4708f969 (diff)
downloadlua-b85816b9a884cbe4cfd139a8e11ffc28ecead576.tar.gz
lua-b85816b9a884cbe4cfd139a8e11ffc28ecead576.tar.bz2
lua-b85816b9a884cbe4cfd139a8e11ffc28ecead576.zip
Removed test function 'luaH_isdummy'
It was not being used anywhere.
-rw-r--r--ltable.c2
-rw-r--r--ltable.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/ltable.c b/ltable.c
index d03e7486..cc7993e0 100644
--- a/ltable.c
+++ b/ltable.c
@@ -975,6 +975,4 @@ Node *luaH_mainposition (const Table *t, const TValue *key) {
975 return mainpositionTV(t, key); 975 return mainpositionTV(t, key);
976} 976}
977 977
978int luaH_isdummy (const Table *t) { return isdummy(t); }
979
980#endif 978#endif
diff --git a/ltable.h b/ltable.h
index 7bbbcb21..75dd9e26 100644
--- a/ltable.h
+++ b/ltable.h
@@ -59,7 +59,6 @@ LUAI_FUNC unsigned int luaH_realasize (const Table *t);
59 59
60#if defined(LUA_DEBUG) 60#if defined(LUA_DEBUG)
61LUAI_FUNC Node *luaH_mainposition (const Table *t, const TValue *key); 61LUAI_FUNC Node *luaH_mainposition (const Table *t, const TValue *key);
62LUAI_FUNC int luaH_isdummy (const Table *t);
63#endif 62#endif
64 63
65 64