aboutsummaryrefslogtreecommitdiff
path: root/ltm.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-01-31 11:09:53 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-01-31 11:09:53 -0300
commit46c3587a6feb28e1ee4a32aabe463b0ecb9e8f5e (patch)
tree7e1ae9b55536171511506532a04f4ebe6dc764b0 /ltm.h
parent69c7139ff88bf26e05d80bf19d0351e5c88d13a3 (diff)
downloadlua-46c3587a6feb28e1ee4a32aabe463b0ecb9e8f5e.tar.gz
lua-46c3587a6feb28e1ee4a32aabe463b0ecb9e8f5e.tar.bz2
lua-46c3587a6feb28e1ee4a32aabe463b0ecb9e8f5e.zip
Clearer distinction between types and tags
LUA_T* represents only types; tags (types + Variants) are represented by LUA_V* constants.
Diffstat (limited to 'ltm.h')
-rw-r--r--ltm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ltm.h b/ltm.h
index 9621e68e..99b545e7 100644
--- a/ltm.h
+++ b/ltm.h
@@ -59,7 +59,7 @@ typedef enum {
59 59
60#define ttypename(x) luaT_typenames_[(x) + 1] 60#define ttypename(x) luaT_typenames_[(x) + 1]
61 61
62LUAI_DDEC(const char *const luaT_typenames_[LUA_TOTALTAGS];) 62LUAI_DDEC(const char *const luaT_typenames_[LUA_TOTALTYPES];)
63 63
64 64
65LUAI_FUNC const char *luaT_objtypename (lua_State *L, const TValue *o); 65LUAI_FUNC const char *luaT_objtypename (lua_State *L, const TValue *o);