better documentation for auxiliary functions (that should be called only

through specific macros).
This commit is contained in:
Roberto Ierusalimschy
2007-02-09 11:04:52 -02:00
parent d3c304e92e
commit 08f902cf49
3 changed files with 10 additions and 7 deletions

8
lvm.h
View File

@@ -1,5 +1,5 @@
/*
** $Id: lvm.h,v 2.4 2005/04/25 19:24:10 roberto Exp roberto $
** $Id: lvm.h,v 2.5 2005/08/22 18:54:49 roberto Exp roberto $
** Lua virtual machine
** See Copyright Notice in lua.h
*/
@@ -19,11 +19,13 @@
(((o) = luaV_tonumber(o,n)) != NULL))
#define equalobj(L,o1,o2) \
(ttype(o1) == ttype(o2) && luaV_equalval(L, o1, o2))
(ttype(o1) == ttype(o2) && luaV_equalval_(L, o1, o2))
/* not to called directly */
LUAI_FUNC int luaV_equalval_ (lua_State *L, const TValue *t1, const TValue *t2);
LUAI_FUNC int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r);
LUAI_FUNC int luaV_equalval (lua_State *L, const TValue *t1, const TValue *t2);
LUAI_FUNC const TValue *luaV_tonumber (const TValue *obj, TValue *n);
LUAI_FUNC int luaV_tostring (lua_State *L, StkId obj);
LUAI_FUNC void luaV_gettable (lua_State *L, const TValue *t, TValue *key,