Lua 5.1.4: lvm.h
L0001
L0006
L0007 #ifndef lvm_h
L0008 #define lvm_h
L0009
L0010
L0011 #include "ldo.h"
L0012 #include "lobject.h"
L0013 #include "ltm.h"
L0014
L0015
L0016 #define tostring(L,o) ((ttype(o) == LUA_TSTRING) || (luaV_tostring(L, o)))
L0017
L0018 #define tonumber(o,n) (ttype(o) == LUA_TNUMBER || \
L0019 (((o) = luaV_tonumber(o,n)) != NULL))
L0020
L0021 #define equalobj(L,o1,o2) \
L0022 (ttype(o1) == ttype(o2) && luaV_equalval(L, o1, o2))
L0023
L0024
L0025 LUAI_FUNC int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r);
L0026 LUAI_FUNC int luaV_equalval (lua_State *L, const TValue *t1, const TValue *t2);
L0027 LUAI_FUNC const TValue *luaV_tonumber (const TValue *obj, TValue *n);
L0028 LUAI_FUNC int luaV_tostring (lua_State *L, StkId obj);
L0029 LUAI_FUNC void luaV_gettable (lua_State *L, const TValue *t, TValue *key,
L0030 StkId val);
L0031 LUAI_FUNC void luaV_settable (lua_State *L, const TValue *t, TValue *key,
L0032 StkId val);
L0033 LUAI_FUNC void luaV_execute (lua_State *L, int nexeccalls);
L0034 LUAI_FUNC void luaV_concat (lua_State *L, int total, int last);
L0035
L0036 #endif
Generated by pretty.lua