2 ** $Id: lvm.h,v 1.4 1997/12/15 16:17:20 roberto Exp $
4 ** See Copyright Notice in lua.h
15 #define tonumber(o) ((ttype(o) != LUA_T_NUMBER) && (luaV_tonumber(o) != 0))
16 #define tostring(o) ((ttype(o) != LUA_T_STRING) && (luaV_tostring(o) != 0))
19 void luaV_pack (StkId firstel
, int nvararg
, TObject
*tab
);
20 int luaV_tonumber (TObject
*obj
);
21 int luaV_tostring (TObject
*obj
);
22 void luaV_gettable (void);
23 void luaV_settable (TObject
*t
, int mode
);
24 void luaV_getglobal (TaggedString
*ts
);
25 void luaV_setglobal (TaggedString
*ts
);
26 StkId
luaV_execute (Closure
*cl
, TProtoFunc
*tf
, StkId base
);
27 void luaV_closure (int nelems
);