aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/lobject.h b/lobject.h
index 3d03744f..45c34c14 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 2.75 2013/04/29 16:57:28 roberto Exp roberto $ 2** $Id: lobject.h,v 2.76 2013/05/02 12:37:24 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*/
@@ -153,9 +153,6 @@ typedef struct lua_TValue TValue;
153 153
154 154
155/* Macros to access values */ 155/* Macros to access values */
156#define nvalue(o) \
157 check_exp(ttisnumber(o), (ttisfloat(o) ? val_(o).n : cast_num(val_(o).i)))
158
159#define ivalue(o) check_exp(ttisinteger(o), val_(o).i) 156#define ivalue(o) check_exp(ttisinteger(o), val_(o).i)
160#define fltvalue(o) check_exp(ttisfloat(o), val_(o).n) 157#define fltvalue(o) check_exp(ttisfloat(o), val_(o).n)
161#define gcvalue(o) check_exp(iscollectable(o), val_(o).gc) 158#define gcvalue(o) check_exp(iscollectable(o), val_(o).gc)