summaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-07-18 11:46:47 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-07-18 11:46:47 -0300
commitbb129031205acc64eb6b41c98d8a08c1fccce308 (patch)
tree65e01a5af21d2867c3108507ed0afbb8d32201bd /ltests.c
parentca41b43f53562e64abe433d6346d174c92548603 (diff)
downloadlua-bb129031205acc64eb6b41c98d8a08c1fccce308.tar.gz
lua-bb129031205acc64eb6b41c98d8a08c1fccce308.tar.bz2
lua-bb129031205acc64eb6b41c98d8a08c1fccce308.zip
type 'Udata' refers directly to structure inside the union (union
used only for aligning purposes now)
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltests.c b/ltests.c
index fde7fdcd..a24117a2 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 2.178 2014/07/18 12:17:54 roberto Exp roberto $ 2** $Id: ltests.c,v 2.179 2014/07/18 13:36:14 roberto Exp roberto $
3** Internal Module for Debugging of the Lua Implementation 3** Internal Module for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -319,7 +319,7 @@ static void checkobject (global_State *g, GCObject *o, int maybedead) {
319 TValue uservalue; 319 TValue uservalue;
320 Table *mt = gco2u(o)->metatable; 320 Table *mt = gco2u(o)->metatable;
321 checkobjref(g, o, mt); 321 checkobjref(g, o, mt);
322 getuservalue(g->mainthread, rawgco2u(o), &uservalue); 322 getuservalue(g->mainthread, gco2u(o), &uservalue);
323 checkvalref(g, o, &uservalue); 323 checkvalref(g, o, &uservalue);
324 break; 324 break;
325 } 325 }