diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-04-29 15:14:16 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-04-29 15:14:16 -0300 |
commit | ffa43df3cd0593a3fb92fe0411a81a9ae6eb3c1d (patch) | |
tree | 951d914937967b00d1739d477f7183ef7fe2667e /lobject.h | |
parent | 9c4398de8f334ffaeb805450f158f89db8fd53c0 (diff) | |
download | lua-ffa43df3cd0593a3fb92fe0411a81a9ae6eb3c1d.tar.gz lua-ffa43df3cd0593a3fb92fe0411a81a9ae6eb3c1d.tar.bz2 lua-ffa43df3cd0593a3fb92fe0411a81a9ae6eb3c1d.zip |
'setnvalue' -> 'setfltvalue' (for consitency with 'fltvalue')
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) \ |