aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
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 0a6d1093..0395afa3 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 1.65 2000/05/24 13:54:49 roberto Exp roberto $ 2** $Id: lobject.h,v 1.66 2000/05/30 19:00:31 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*/
@@ -73,10 +73,10 @@ typedef union {
73/* Macros to access values */ 73/* Macros to access values */
74#define ttype(o) ((o)->ttype) 74#define ttype(o) ((o)->ttype)
75#define nvalue(o) ((o)->value.n) 75#define nvalue(o) ((o)->value.n)
76#define svalue(o) ((o)->value.ts->str)
77#define tsvalue(o) ((o)->value.ts) 76#define tsvalue(o) ((o)->value.ts)
78#define clvalue(o) ((o)->value.cl) 77#define clvalue(o) ((o)->value.cl)
79#define avalue(o) ((o)->value.a) 78#define hvalue(o) ((o)->value.a)
79#define svalue(o) (tsvalue(o)->str)
80 80
81 81
82typedef struct lua_TObject { 82typedef struct lua_TObject {