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-github-ffa43df3cd0593a3fb92fe0411a81a9ae6eb3c1d.tar.gz |
'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 @@ /* -** $Id: lobject.h,v 2.85 2014/02/19 13:51:09 roberto Exp roberto $ +** $Id: lobject.h,v 2.86 2014/02/19 13:52:42 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -187,7 +187,7 @@ typedef struct lua_TValue TValue; /* Macros to set values */ #define settt_(o,t) ((o)->tt_=(t)) -#define setnvalue(obj,x) \ +#define setfltvalue(obj,x) \ { TValue *io=(obj); val_(io).n=(x); settt_(io, LUA_TNUMFLT); } #define setivalue(obj,x) \ |