aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-07-01 16:31:10 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-07-01 16:31:10 -0300
commit68ee518e816c87dbb376dc38d11d1b47dfe2b53e (patch)
tree0253714c4b62b29993990db1b68add6f4e36c204 /lua.h
parent76a73cb2eef71eac3c93e9263443131164ee9fb9 (diff)
downloadlua-68ee518e816c87dbb376dc38d11d1b47dfe2b53e.tar.gz
lua-68ee518e816c87dbb376dc38d11d1b47dfe2b53e.tar.bz2
lua-68ee518e816c87dbb376dc38d11d1b47dfe2b53e.zip
only tables need `lua_number2int'
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/lua.h b/lua.h
index 6cbf9497..014896b0 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.143 2002/06/25 19:18:49 roberto Exp roberto $ 2** $Id: lua.h,v 1.144 2002/06/26 19:28:44 roberto Exp roberto $
3** Lua - An Extensible Extension Language 3** Lua - An Extensible Extension Language
4** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil 4** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil
5** http://www.lua.org mailto:info@lua.org 5** http://www.lua.org mailto:info@lua.org
@@ -301,12 +301,6 @@ LUA_API int lua_pushupvalues (lua_State *L);
301#define LUA_NUMBER_FMT "%.16g" 301#define LUA_NUMBER_FMT "%.16g"
302#endif 302#endif
303 303
304
305/* function to convert a lua_Number to int (with any rounding method) */
306#ifndef lua_number2int
307#define lua_number2int(i,n) ((i)=(int)(n))
308#endif
309
310/* }====================================================================== */ 304/* }====================================================================== */
311 305
312 306