aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lobject.h b/lobject.h
index 75610c99..62357a9a 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 1.135 2002/06/13 13:39:55 roberto Exp roberto $ 2** $Id: lobject.h,v 1.136 2002/06/20 20:41:46 roberto Exp roberto $
3** Type definitions for Lua objects 3** Type definitions for Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -74,7 +74,7 @@ typedef struct lua_TObject {
74#define setnilvalue(obj) ((obj)->tt=LUA_TNIL) 74#define setnilvalue(obj) ((obj)->tt=LUA_TNIL)
75 75
76#define setobj(obj1,obj2) \ 76#define setobj(obj1,obj2) \
77 { TObject *o1=(obj1); const TObject *o2=(obj2); \ 77 { const TObject *o2=(obj2); TObject *o1=(obj1); \
78 o1->tt=o2->tt; o1->value = o2->value; } 78 o1->tt=o2->tt; o1->value = o2->value; }
79 79
80#define setttype(obj, tt) (ttype(obj) = (tt)) 80#define setttype(obj, tt) (ttype(obj) = (tt))