Go to the source code of this file.
|
int | lua_absindex (lua_State *L, int idx) |
|
void | lua_rawgetp (lua_State *L, int idx, void const *p) |
|
void | lua_rawsetp (lua_State *L, int idx, void const *p) |
|
int | lua_compare (lua_State *L, int idx1, int idx2, int op) |
|
int | get_length (lua_State *L, int idx) |
|
void | rawgetfield (lua_State *L, int index, char const *key) |
|
void | rawsetfield (lua_State *L, int index, char const *key) |
|
bool | isfulluserdata (lua_State *L, int index) |
|
bool | equalstates (lua_State *L1, lua_State *L2) |
|
◆ LUA_OPEQ
◆ LUA_OPLE
◆ LUA_OPLT
◆ LUABRIDGE_LUA_OK
#define LUABRIDGE_LUA_OK 0 |
◆ equalstates()
Test lua_State objects for global equality.
This can determine if two different lua_State objects really point to the same global state, such as when using coroutines.
- Note
- This is used for assertions.
Definition at line 139 of file LuaHelpers.h.
◆ get_length()
◆ isfulluserdata()
bool isfulluserdata |
( |
lua_State * |
L, |
|
|
int |
index |
|
) |
| |
|
inline |
Returns true if the value is a full userdata (not light).
Definition at line 127 of file LuaHelpers.h.
◆ lua_absindex()
◆ lua_compare()
int lua_compare |
( |
lua_State * |
L, |
|
|
int |
idx1, |
|
|
int |
idx2, |
|
|
int |
op |
|
) |
| |
|
inline |
◆ lua_rawgetp()
void lua_rawgetp |
( |
lua_State * |
L, |
|
|
int |
idx, |
|
|
void const * |
p |
|
) |
| |
|
inline |
◆ lua_rawsetp()
void lua_rawsetp |
( |
lua_State * |
L, |
|
|
int |
idx, |
|
|
void const * |
p |
|
) |
| |
|
inline |
◆ rawgetfield()
void rawgetfield |
( |
lua_State * |
L, |
|
|
int |
index, |
|
|
char const * |
key |
|
) |
| |
|
inline |
Get a table value, bypassing metamethods.
Definition at line 106 of file LuaHelpers.h.
◆ rawsetfield()
void rawsetfield |
( |
lua_State * |
L, |
|
|
int |
index, |
|
|
char const * |
key |
|
) |
| |
|
inline |
Set a table value, bypassing metamethods.
Definition at line 116 of file LuaHelpers.h.