summaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-12-04 10:15:22 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-12-04 10:15:22 -0200
commitcac1ebd1e06f5eb1e42141f006d360ae91f1f0f3 (patch)
tree6d3bf5302186f701e18c11ef08e42ff8bb6f08d6 /lobject.h
parent73c5515e0080037e9c5781338922a7afaa3bdcda (diff)
downloadlua-github-cac1ebd1e06f5eb1e42141f006d360ae91f1f0f3.tar.gz
detail ('ttisuserdata' renamed to 'ttisfulluserdata')
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lobject.h b/lobject.h
index f33eadc1..ca92fc56 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
/*
-** $Id: lobject.h,v 2.81 2013/08/27 18:53:35 roberto Exp roberto $
+** $Id: lobject.h,v 2.82 2013/09/05 19:31:49 roberto Exp roberto $
** Type definitions for Lua objects
** See Copyright Notice in lua.h
*/
@@ -146,7 +146,7 @@ typedef struct lua_TValue TValue;
#define ttisCclosure(o) checktag((o), ctb(LUA_TCCL))
#define ttisLclosure(o) checktag((o), ctb(LUA_TLCL))
#define ttislcf(o) checktag((o), LUA_TLCF)
-#define ttisuserdata(o) checktag((o), ctb(LUA_TUSERDATA))
+#define ttisfulluserdata(o) checktag((o), ctb(LUA_TUSERDATA))
#define ttisthread(o) checktag((o), ctb(LUA_TTHREAD))
#define ttisdeadkey(o) checktag((o), LUA_TDEADKEY)
@@ -158,7 +158,7 @@ typedef struct lua_TValue TValue;
#define pvalue(o) check_exp(ttislightuserdata(o), val_(o).p)
#define rawtsvalue(o) check_exp(ttisstring(o), &val_(o).gc->ts)
#define tsvalue(o) (&rawtsvalue(o)->tsv)
-#define rawuvalue(o) check_exp(ttisuserdata(o), &val_(o).gc->u)
+#define rawuvalue(o) check_exp(ttisfulluserdata(o), &val_(o).gc->u)
#define uvalue(o) (&rawuvalue(o)->uv)
#define clvalue(o) check_exp(ttisclosure(o), &val_(o).gc->cl)
#define clLvalue(o) check_exp(ttisLclosure(o), &val_(o).gc->cl.l)