From 46c3587a6feb28e1ee4a32aabe463b0ecb9e8f5e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 31 Jan 2020 11:09:53 -0300 Subject: Clearer distinction between types and tags LUA_T* represents only types; tags (types + Variants) are represented by LUA_V* constants. --- ltm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ltm.c') diff --git a/ltm.c b/ltm.c index ca46f04e..ae60983f 100644 --- a/ltm.c +++ b/ltm.c @@ -27,7 +27,7 @@ static const char udatatypename[] = "userdata"; -LUAI_DDEF const char *const luaT_typenames_[LUA_TOTALTAGS] = { +LUAI_DDEF const char *const luaT_typenames_[LUA_TOTALTYPES] = { "no value", "nil", "boolean", udatatypename, "number", "string", "table", "function", udatatypename, "thread", -- cgit v1.2.3-55-g6feb