aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/lobject.h b/lobject.h
index 568aef3f..1fa6df80 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 2.65 2012/01/20 22:05:50 roberto Exp roberto $ 2** $Id: lobject.h,v 2.68 2012/01/25 21:05:40 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*/
@@ -236,11 +236,6 @@ typedef struct lua_TValue TValue;
236 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TTABLE)); \ 236 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TTABLE)); \
237 checkliveness(G(L),io); } 237 checkliveness(G(L),io); }
238 238
239#define setptvalue(L,obj,x) \
240 { TValue *io=(obj); \
241 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TPROTO)); \
242 checkliveness(G(L),io); }
243
244#define setdeadvalue(obj) settt_(obj, LUA_TDEADKEY) 239#define setdeadvalue(obj) settt_(obj, LUA_TDEADKEY)
245 240
246 241