aboutsummaryrefslogtreecommitdiff
path: root/lvm.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-05-26 14:10:22 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-05-26 14:10:22 -0300
commitc98f195eb930422be2829f78696fb4bf79b93677 (patch)
tree119b0eca4b1b1435f6a73cecb50e368455081c14 /lvm.h
parent4d696c45b9710e4b3d2eb65a0ebef79766937a4a (diff)
downloadlua-c98f195eb930422be2829f78696fb4bf79b93677.tar.gz
lua-c98f195eb930422be2829f78696fb4bf79b93677.tar.bz2
lua-c98f195eb930422be2829f78696fb4bf79b93677.zip
function 'luaV_numtointeger' changed to a global macro
'lua_numtointeger' (tricky, small, and useful in several places)
Diffstat (limited to 'lvm.h')
-rw-r--r--lvm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lvm.h b/lvm.h
index 04f997dc..6dff8b1e 100644
--- a/lvm.h
+++ b/lvm.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.h,v 2.29 2014/04/27 14:41:11 roberto Exp roberto $ 2** $Id: lvm.h,v 2.30 2014/05/12 21:22:05 roberto Exp roberto $
3** Lua virtual machine 3** Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -29,7 +29,6 @@ LUAI_FUNC int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r);
29LUAI_FUNC int luaV_lessequal (lua_State *L, const TValue *l, const TValue *r); 29LUAI_FUNC int luaV_lessequal (lua_State *L, const TValue *l, const TValue *r);
30LUAI_FUNC int luaV_tonumber_ (const TValue *obj, lua_Number *n); 30LUAI_FUNC int luaV_tonumber_ (const TValue *obj, lua_Number *n);
31LUAI_FUNC int luaV_tointeger_ (const TValue *obj, lua_Integer *p); 31LUAI_FUNC int luaV_tointeger_ (const TValue *obj, lua_Integer *p);
32LUAI_FUNC int luaV_numtointeger (lua_Number n, lua_Integer *p);
33LUAI_FUNC int luaV_tostring (lua_State *L, StkId obj); 32LUAI_FUNC int luaV_tostring (lua_State *L, StkId obj);
34LUAI_FUNC void luaV_gettable (lua_State *L, const TValue *t, TValue *key, 33LUAI_FUNC void luaV_gettable (lua_State *L, const TValue *t, TValue *key,
35 StkId val); 34 StkId val);