#include "ldo.h"
#include "lobject.h"
#include "ltm.h"
Go to the source code of this file.
|
#define | cvt2str(o) ttisnumber(o) |
|
#define | cvt2num(o) ttisstring(o) |
|
#define | LUA_FLOORN2I 0 |
|
#define | tonumber(o, n) (ttisfloat(o) ? (*(n) = fltvalue(o), 1) : luaV_tonumber_(o,n)) |
|
#define | tointeger(o, i) (ttisinteger(o) ? (*(i) = ivalue(o), 1) : luaV_tointeger(o,i,LUA_FLOORN2I)) |
|
#define | intop(op, v1, v2) l_castU2S(l_castS2U(v1) op l_castS2U(v2)) |
|
#define | luaV_rawequalobj(t1, t2) luaV_equalobj(NULL,t1,t2) |
|
#define | luaV_fastget(L, t, k, slot, f) |
|
#define | luaV_gettable(L, t, k, v) |
|
#define | luaV_fastset(L, t, k, slot, f, v) |
|
#define | luaV_settable(L, t, k, v) |
|
|
int | luaV_equalobj (lua_State *L, const TValue *t1, const TValue *t2) |
|
int | luaV_lessthan (lua_State *L, const TValue *l, const TValue *r) |
|
int | luaV_lessequal (lua_State *L, const TValue *l, const TValue *r) |
|
int | luaV_tonumber_ (const TValue *obj, lua_Number *n) |
|
int | luaV_tointeger (const TValue *obj, lua_Integer *p, int mode) |
|
void | luaV_finishget (lua_State *L, const TValue *t, TValue *key, StkId val, const TValue *slot) |
|
void | luaV_finishset (lua_State *L, const TValue *t, TValue *key, StkId val, const TValue *slot) |
|
void | luaV_finishOp (lua_State *L) |
|
void | luaV_execute (lua_State *L) |
|
void | luaV_concat (lua_State *L, int total) |
|
lua_Integer | luaV_div (lua_State *L, lua_Integer x, lua_Integer y) |
|
lua_Integer | luaV_mod (lua_State *L, lua_Integer x, lua_Integer y) |
|
lua_Integer | luaV_shiftl (lua_Integer x, lua_Integer y) |
|
void | luaV_objlen (lua_State *L, StkId ra, const TValue *rb) |
|
◆ cvt2num
Definition at line 24 of file lvm.h.
◆ cvt2str
Definition at line 17 of file lvm.h.
◆ intop
Definition at line 46 of file lvm.h.
◆ LUA_FLOORN2I
Definition at line 36 of file lvm.h.
◆ luaV_fastget
#define luaV_fastget |
( |
|
L, |
|
|
|
t, |
|
|
|
k, |
|
|
|
slot, |
|
|
|
f |
|
) |
| |
Value:
Definition at line 58 of file lvm.h.
◆ luaV_fastset
#define luaV_fastset |
( |
|
L, |
|
|
|
t, |
|
|
|
k, |
|
|
|
slot, |
|
|
|
f, |
|
|
|
v |
|
) |
| |
Value:
? (slot = NULL, 0) \
ttisnil(slot) ? 0 \
1)))
#define luaC_barrierback(L, p, v)
Definition at line 80 of file lvm.h.
◆ luaV_gettable
#define luaV_gettable |
( |
|
L, |
|
|
|
t, |
|
|
|
k, |
|
|
|
v |
|
) |
| |
Value:
const TValue * luaH_get(Table *t, const TValue *key)
#define luaV_fastget(L, t, k, slot, f)
void luaV_finishget(lua_State *L, const TValue *t, TValue *key, StkId val, const TValue *slot)
Definition at line 67 of file lvm.h.
◆ luaV_rawequalobj
Definition at line 48 of file lvm.h.
◆ luaV_settable
#define luaV_settable |
( |
|
L, |
|
|
|
t, |
|
|
|
k, |
|
|
|
v |
|
) |
| |
Value:
luaV_finishset(L,t,k,v,slot); }
#define luaV_fastset(L, t, k, slot, f, v)
Definition at line 90 of file lvm.h.
◆ tointeger
Definition at line 43 of file lvm.h.
◆ tonumber
Definition at line 40 of file lvm.h.
◆ luaV_concat()
void luaV_concat |
( |
lua_State * |
L, |
|
|
int |
total |
|
) |
| |
◆ luaV_div()
◆ luaV_equalobj()
◆ luaV_execute()
◆ luaV_finishget()
◆ luaV_finishOp()
◆ luaV_finishset()
◆ luaV_lessequal()
◆ luaV_lessthan()
◆ luaV_mod()
◆ luaV_objlen()
◆ luaV_shiftl()
◆ luaV_tointeger()
◆ luaV_tonumber_()