aboutsummaryrefslogtreecommitdiff
path: root/lvm.h
diff options
context:
space:
mode:
Diffstat (limited to 'lvm.h')
-rw-r--r--lvm.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/lvm.h b/lvm.h
index adca8cdd..7fd88c71 100644
--- a/lvm.h
+++ b/lvm.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.h,v 2.4 2005/04/25 19:24:10 roberto Exp roberto $ 2** $Id: lvm.h,v 2.5 2005/08/22 18:54:49 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*/
@@ -19,11 +19,13 @@
19 (((o) = luaV_tonumber(o,n)) != NULL)) 19 (((o) = luaV_tonumber(o,n)) != NULL))
20 20
21#define equalobj(L,o1,o2) \ 21#define equalobj(L,o1,o2) \
22 (ttype(o1) == ttype(o2) && luaV_equalval(L, o1, o2)) 22 (ttype(o1) == ttype(o2) && luaV_equalval_(L, o1, o2))
23 23
24 24
25/* not to called directly */
26LUAI_FUNC int luaV_equalval_ (lua_State *L, const TValue *t1, const TValue *t2);
27
25LUAI_FUNC int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r); 28LUAI_FUNC int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r);
26LUAI_FUNC int luaV_equalval (lua_State *L, const TValue *t1, const TValue *t2);
27LUAI_FUNC const TValue *luaV_tonumber (const TValue *obj, TValue *n); 29LUAI_FUNC const TValue *luaV_tonumber (const TValue *obj, TValue *n);
28LUAI_FUNC int luaV_tostring (lua_State *L, StkId obj); 30LUAI_FUNC int luaV_tostring (lua_State *L, StkId obj);
29LUAI_FUNC void luaV_gettable (lua_State *L, const TValue *t, TValue *key, 31LUAI_FUNC void luaV_gettable (lua_State *L, const TValue *t, TValue *key,