32 #if LUA_VERSION_NUM < 502
66 return lua_equal (L, idx1, idx2);
70 return lua_lessthan (L, idx1, idx2);
74 return lua_equal (L, idx1, idx2) || lua_lessthan (L, idx1, idx2);
84 return int (lua_objlen (L, idx));
99 # define LUABRIDGE_LUA_OK 0
101 # define LUABRIDGE_LUA_OK LUA_OK
bool isfulluserdata(lua_State *L, int index)
void rawsetfield(lua_State *L, int index, char const *key)
int lua_absindex(lua_State *L, int idx)
void lua_rawgetp(lua_State *L, int idx, void const *p)
int get_length(lua_State *L, int idx)
void lua_rawsetp(lua_State *L, int idx, void const *p)
void rawgetfield(lua_State *L, int index, char const *key)
bool equalstates(lua_State *L1, lua_State *L2)
int lua_compare(lua_State *L, int idx1, int idx2, int op)
lua_Number() luaL_checknumber(lua_State *L, int arg)
#define lua_istable(L, n)
#define lua_insert(L, idx)
void() lua_len(lua_State *L, int idx)
const void *() lua_topointer(lua_State *L, int idx)
int() lua_rawget(lua_State *L, int idx)
#define LUA_REGISTRYINDEX
void() lua_pushlightuserdata(lua_State *L, void *p)
#define lua_islightuserdata(L, n)
const char *() lua_pushstring(lua_State *L, const char *s)
int() lua_gettop(lua_State *L)
int() lua_isuserdata(lua_State *L, int idx)
void() lua_rawset(lua_State *L, int idx)