#include "ldo.h"
#include "lobject.h"
#include "ltm.h"
Include dependency graph for lvm.h:
This graph shows which files directly or indirectly include this file:
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 | |
int | luaV_lessthan (lua_State *L, const TObject *l, const TObject *r) |
int | luaV_equalval (lua_State *L, const TObject *t1, const TObject *t2) |
const TObject * | luaV_tonumber (const TObject *obj, TObject *n) |
int | luaV_tostring (lua_State *L, StkId obj) |
const TObject * | luaV_gettable (lua_State *L, const TObject *t, TObject *key, int loop) |
void | luaV_settable (lua_State *L, const TObject *t, TObject *key, StkId val) |
StkId | luaV_execute (lua_State *L) |
void | luaV_concat (lua_State *L, int total, int last) |
|
Definition at line 21 of file lvm.h. Referenced by lua_equal(), and luaV_execute(). |
|
Value: (ttype(o) == LUA_TNUMBER || \ (((o) = luaV_tonumber(o,n)) != NULL)) Definition at line 18 of file lvm.h. Referenced by lua_isnumber(), lua_tonumber(), and luaV_execute(). |
|
Definition at line 16 of file lvm.h. Referenced by luaV_concat(). |
|
Definition at line 340 of file lvm.c. References lua_State::base, call_binTM(), cast, G, luaG_concaterror(), luaG_runerror(), luaS_newlstr(), luaZ_openspace(), MAX_SIZET, setsvalue2s, svalue, TM_CONCAT, tostring, and tsvalue. Referenced by lua_concat(), luaO_pushvfstring(), and luaV_execute(). |
|
Definition at line 313 of file lvm.c. References bvalue, callTMres(), gcvalue, get_compTM(), hvalue, l_isfalse, lua_assert, nvalue, pvalue, TM_EQ, lua_State::top, ttype, and uvalue. |
|
|
Definition at line 166 of file lvm.c. References hvalue, luaG_runerror(), luaH_get(), luaV_getnotable(), luaV_index(), MAXTAGLOOP, ttisnil, and ttistable. Referenced by lua_gettable(), luaV_getnotable(), and luaV_index(). |
|
Definition at line 281 of file lvm.c. References call_orderTM(), luaG_ordererror(), luaV_strcmp(), nvalue, TM_LT, tsvalue, ttisnumber, ttisstring, and ttype. Referenced by lua_lessthan(), and luaV_execute(). |
|
Definition at line 183 of file lvm.c. References callTM(), fasttm, hvalue, luaG_runerror(), luaG_typeerror(), luaH_set(), luaT_gettmbyobj(), MAXTAGLOOP, Table::metatable, setobj2t, TM_NEWINDEX, ttisfunction, ttisnil, and ttistable. Referenced by lua_settable(), and luaV_execute(). |
|
Definition at line 43 of file lvm.c. References luaO_str2d(), setnvalue, svalue, ttisnumber, and ttisstring. Referenced by Arith(), and luaG_aritherror(). |
|
Definition at line 55 of file lvm.c. References lua_number2str, luaS_new, nvalue, setsvalue2s, and ttisnumber. Referenced by lua_strlen(), and lua_tostring(). |