diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-05-26 14:10:22 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-05-26 14:10:22 -0300 |
commit | c98f195eb930422be2829f78696fb4bf79b93677 (patch) | |
tree | 119b0eca4b1b1435f6a73cecb50e368455081c14 /lvm.h | |
parent | 4d696c45b9710e4b3d2eb65a0ebef79766937a4a (diff) | |
download | lua-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.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); | |||
29 | LUAI_FUNC int luaV_lessequal (lua_State *L, const TValue *l, const TValue *r); | 29 | LUAI_FUNC int luaV_lessequal (lua_State *L, const TValue *l, const TValue *r); |
30 | LUAI_FUNC int luaV_tonumber_ (const TValue *obj, lua_Number *n); | 30 | LUAI_FUNC int luaV_tonumber_ (const TValue *obj, lua_Number *n); |
31 | LUAI_FUNC int luaV_tointeger_ (const TValue *obj, lua_Integer *p); | 31 | LUAI_FUNC int luaV_tointeger_ (const TValue *obj, lua_Integer *p); |
32 | LUAI_FUNC int luaV_numtointeger (lua_Number n, lua_Integer *p); | ||
33 | LUAI_FUNC int luaV_tostring (lua_State *L, StkId obj); | 32 | LUAI_FUNC int luaV_tostring (lua_State *L, StkId obj); |
34 | LUAI_FUNC void luaV_gettable (lua_State *L, const TValue *t, TValue *key, | 33 | LUAI_FUNC void luaV_gettable (lua_State *L, const TValue *t, TValue *key, |
35 | StkId val); | 34 | StkId val); |