diff options
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.h,v 2.85 2014/02/19 13:51:09 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 2.86 2014/02/19 13:52:42 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 | */ |
@@ -187,7 +187,7 @@ typedef struct lua_TValue TValue; | |||
187 | /* Macros to set values */ | 187 | /* Macros to set values */ |
188 | #define settt_(o,t) ((o)->tt_=(t)) | 188 | #define settt_(o,t) ((o)->tt_=(t)) |
189 | 189 | ||
190 | #define setnvalue(obj,x) \ | 190 | #define setfltvalue(obj,x) \ |
191 | { TValue *io=(obj); val_(io).n=(x); settt_(io, LUA_TNUMFLT); } | 191 | { TValue *io=(obj); val_(io).n=(x); settt_(io, LUA_TNUMFLT); } |
192 | 192 | ||
193 | #define setivalue(obj,x) \ | 193 | #define setivalue(obj,x) \ |