Просмотр исходного кода

Removed test function 'luaH_isdummy'

It was not being used anywhere.
Roberto Ierusalimschy 2 лет назад
Родитель
Сommit
b85816b9a8
2 измененных файлов с 0 добавлено и 3 удалено
  1. 0 2
      ltable.c
  2. 0 1
      ltable.h

+ 0 - 2
ltable.c

@@ -975,6 +975,4 @@ Node *luaH_mainposition (const Table *t, const TValue *key) {
   return mainpositionTV(t, key);
 }
 
-int luaH_isdummy (const Table *t) { return isdummy(t); }
-
 #endif

+ 0 - 1
ltable.h

@@ -59,7 +59,6 @@ LUAI_FUNC unsigned int luaH_realasize (const Table *t);
 
 #if defined(LUA_DEBUG)
 LUAI_FUNC Node *luaH_mainposition (const Table *t, const TValue *key);
-LUAI_FUNC int luaH_isdummy (const Table *t);
 #endif