summaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-04-29 15:14:16 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-04-29 15:14:16 -0300
commitffa43df3cd0593a3fb92fe0411a81a9ae6eb3c1d (patch)
tree951d914937967b00d1739d477f7183ef7fe2667e /lobject.h
parent9c4398de8f334ffaeb805450f158f89db8fd53c0 (diff)
downloadlua-github-ffa43df3cd0593a3fb92fe0411a81a9ae6eb3c1d.tar.gz
'setnvalue' -> 'setfltvalue' (for consitency with 'fltvalue')
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lobject.h b/lobject.h
index 6dd741e1..8efac91f 100644
--- a/lobject.h
+++ b/lobject.h
@@ -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) \