From 8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 25 Apr 2005 16:24:10 -0300 Subject: added LUAI_FUNC to functions not in the API --- lvm.h | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'lvm.h') diff --git a/lvm.h b/lvm.h index 0e096c96..b120286c 100644 --- a/lvm.h +++ b/lvm.h @@ -1,5 +1,5 @@ /* -** $Id: lvm.h,v 2.2 2004/05/14 19:25:09 roberto Exp roberto $ +** $Id: lvm.h,v 2.3 2005/04/04 18:12:51 roberto Exp roberto $ ** Lua virtual machine ** See Copyright Notice in lua.h */ @@ -22,13 +22,15 @@ (ttype(o1) == ttype(o2) && luaV_equalval(L, o1, o2)) -int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r); -int luaV_equalval (lua_State *L, const TValue *t1, const TValue *t2); -const TValue *luaV_tonumber (const TValue *obj, TValue *n); -int luaV_tostring (lua_State *L, StkId obj); -void luaV_gettable (lua_State *L, const TValue *t, TValue *key, StkId val); -void luaV_settable (lua_State *L, const TValue *t, TValue *key, StkId val); -StkId luaV_execute (lua_State *L, int nexeccalls); -void luaV_concat (lua_State *L, int total, int last); +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, + StkId val); +LUAI_FUNC void luaV_settable (lua_State *L, const TValue *t, TValue *key, + StkId val); +LUAI_FUNC StkId luaV_execute (lua_State *L, int nexeccalls); +LUAI_FUNC void luaV_concat (lua_State *L, int total, int last); #endif -- cgit v1.2.3-55-g6feb