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.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ltm.h') diff --git a/ltm.h b/ltm.h index 9621e68e..99b545e7 100644 --- a/ltm.h +++ b/ltm.h @@ -59,7 +59,7 @@ typedef enum { #define ttypename(x) luaT_typenames_[(x) + 1] -LUAI_DDEC(const char *const luaT_typenames_[LUA_TOTALTAGS];) +LUAI_DDEC(const char *const luaT_typenames_[LUA_TOTALTYPES];) LUAI_FUNC const char *luaT_objtypename (lua_State *L, const TValue *o); -- cgit v1.2.3-55-g6feb