Nut/OS  4.10.3
API Reference
lvm.h File Reference
#include <lua/ldo.h>
#include <lua/lobject.h>
#include <lua/ltm.h>
Include dependency graph for lvm.h:

Go to the source code of this file.

Defines

#define tostring(L, o)   ((ttype(o) == LUA_TSTRING) || (luaV_tostring(L, o)))
#define tonumber(o, n)
#define equalobj(L, o1, o2)   (ttype(o1) == ttype(o2) && luaV_equalval(L, o1, o2))

Functions

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 TValueluaV_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 void luaV_execute (lua_State *L, int nexeccalls)
LUAI_FUNC void luaV_concat (lua_State *L, int total, int last)

Define Documentation

#define tostring (   L,
 
)    ((ttype(o) == LUA_TSTRING) || (luaV_tostring(L, o)))

Definition at line 16 of file lvm.h.

#define tonumber (   o,
 
)
Value:
(ttype(o) == LUA_TNUMBER || \
                         (((o) = luaV_tonumber(o,n)) != NULL))

Definition at line 18 of file lvm.h.

#define equalobj (   L,
  o1,
  o2 
)    (ttype(o1) == ttype(o2) && luaV_equalval(L, o1, o2))

Definition at line 21 of file lvm.h.


Function Documentation

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 void luaV_execute ( lua_State L,
int  nexeccalls 
)
LUAI_FUNC void luaV_concat ( lua_State L,
int  total,
int  last 
)