Lines Matching defs:L
45 #define api_checkvalidindex(L, o) api_check(L, isvalid(o), "invalid index") argument
47 #define api_checkstackindex(L, i, o) \ argument
51 static TValue *index2addr (lua_State *L, int idx) { in index2addr()
82 static void growstack (lua_State *L, void *ud) { in growstack()
88 LUA_API int lua_checkstack (lua_State *L, int size) { in lua_checkstack()
123 LUA_API lua_CFunction lua_atpanic (lua_State *L, lua_CFunction panicf) { in lua_atpanic()
133 LUA_API const lua_Number *lua_version (lua_State *L) { in lua_version()
149 LUA_API int lua_absindex (lua_State *L, int idx) { in lua_absindex()
156 LUA_API int lua_gettop (lua_State *L) { in lua_gettop()
161 LUA_API void lua_settop (lua_State *L, int idx) { in lua_settop()
178 LUA_API void lua_remove (lua_State *L, int idx) { in lua_remove()
189 LUA_API void lua_insert (lua_State *L, int idx) { in lua_insert()
202 static void moveto (lua_State *L, TValue *fr, int idx) { in moveto()
213 LUA_API void lua_replace (lua_State *L, int idx) { in lua_replace()
222 LUA_API void lua_copy (lua_State *L, int fromidx, int toidx) { in lua_copy()
231 LUA_API void lua_pushvalue (lua_State *L, int idx) { in lua_pushvalue()
245 LUA_API int lua_type (lua_State *L, int idx) { in lua_type()
251 LUA_API const char *lua_typename (lua_State *L, int t) { in lua_typename()
259 LUA_API int lua_iscfunction (lua_State *L, int idx) { in lua_iscfunction()
265 LUA_API int lua_isnumber (lua_State *L, int idx) { in lua_isnumber()
272 LUA_API int lua_isstring (lua_State *L, int idx) { in lua_isstring()
278 LUA_API int lua_isuserdata (lua_State *L, int idx) { in lua_isuserdata()
284 LUA_API int lua_rawequal (lua_State *L, int index1, int index2) { in lua_rawequal()
291 LUA_API void lua_arith (lua_State *L, int op) { in lua_arith()
314 LUA_API int lua_compare (lua_State *L, int index1, int index2, int op) { in lua_compare()
333 LUA_API lua_Number lua_tonumberx (lua_State *L, int idx, int *isnum) { in lua_tonumberx()
347 LUA_API lua_Integer lua_tointegerx (lua_State *L, int idx, int *isnum) { in lua_tointegerx()
364 LUA_API lua_Unsigned lua_tounsignedx (lua_State *L, int idx, int *isnum) { in lua_tounsignedx()
381 LUA_API int lua_toboolean (lua_State *L, int idx) { in lua_toboolean()
387 LUA_API const char *lua_tolstring (lua_State *L, int idx, size_t *len) { in lua_tolstring()
405 LUA_API size_t lua_rawlen (lua_State *L, int idx) { in lua_rawlen()
416 LUA_API lua_CFunction lua_tocfunction (lua_State *L, int idx) { in lua_tocfunction()
425 LUA_API void *lua_touserdata (lua_State *L, int idx) { in lua_touserdata()
435 LUA_API lua_State *lua_tothread (lua_State *L, int idx) { in lua_tothread()
441 LUA_API const void *lua_topointer (lua_State *L, int idx) { in lua_topointer()
463 LUA_API void lua_pushnil (lua_State *L) { in lua_pushnil()
471 LUA_API void lua_pushnumber (lua_State *L, lua_Number n) { in lua_pushnumber()
481 LUA_API void lua_pushinteger (lua_State *L, lua_Integer n) { in lua_pushinteger()
489 LUA_API void lua_pushunsigned (lua_State *L, lua_Unsigned u) { in lua_pushunsigned()
499 LUA_API const char *lua_pushlstring (lua_State *L, const char *s, size_t len) { in lua_pushlstring()
511 LUA_API const char *lua_pushstring (lua_State *L, const char *s) { in lua_pushstring()
529 LUA_API const char *lua_pushvfstring (lua_State *L, const char *fmt, in lua_pushvfstring()
540 LUA_API const char *lua_pushfstring (lua_State *L, const char *fmt, ...) { in lua_pushfstring()
553 LUA_API void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n) { in lua_pushcclosure()
575 LUA_API void lua_pushboolean (lua_State *L, int b) { in lua_pushboolean()
583 LUA_API void lua_pushlightuserdata (lua_State *L, void *p) { in lua_pushlightuserdata()
591 LUA_API int lua_pushthread (lua_State *L) { in lua_pushthread()
606 LUA_API void lua_getglobal (lua_State *L, const char *var) { in lua_getglobal()
617 LUA_API void lua_gettable (lua_State *L, int idx) { in lua_gettable()
626 LUA_API void lua_getfield (lua_State *L, int idx, const char *k) { in lua_getfield()
637 LUA_API void lua_rawget (lua_State *L, int idx) { in lua_rawget()
647 LUA_API void lua_rawgeti (lua_State *L, int idx, int n) { in lua_rawgeti()
658 LUA_API void lua_rawgetp (lua_State *L, int idx, const void *p) { in lua_rawgetp()
671 LUA_API void lua_createtable (lua_State *L, int narray, int nrec) { in lua_createtable()
684 LUA_API int lua_getmetatable (lua_State *L, int objindex) { in lua_getmetatable()
713 LUA_API void lua_getuservalue (lua_State *L, int idx) { in lua_getuservalue()
732 LUA_API void lua_setglobal (lua_State *L, const char *var) { in lua_setglobal()
745 LUA_API void lua_settable (lua_State *L, int idx) { in lua_settable()
756 LUA_API void lua_setfield (lua_State *L, int idx, const char *k) { in lua_setfield()
768 LUA_API void lua_rawset (lua_State *L, int idx) { in lua_rawset()
782 LUA_API void lua_rawseti (lua_State *L, int idx, int n) { in lua_rawseti()
795 LUA_API void lua_rawsetp (lua_State *L, int idx, const void *p) { in lua_rawsetp()
810 LUA_API int lua_setmetatable (lua_State *L, int objindex) { in lua_setmetatable()
850 LUA_API void lua_setuservalue (lua_State *L, int idx) { in lua_setuservalue()
873 #define checkresults(L,na,nr) \ argument
878 LUA_API int lua_getctx (lua_State *L, int *ctx) { in lua_getctx()
887 LUA_API void lua_callk (lua_State *L, int nargs, int nresults, int ctx, in lua_callk()
919 static void f_call (lua_State *L, void *ud) { in f_call()
926 LUA_API int lua_pcallk (lua_State *L, int nargs, int nresults, int errfunc, in lua_pcallk()
971 LUA_API int lua_load (lua_State *L, lua_Reader reader, void *data, in lua_load()
995 LUA_API int lua_dump (lua_State *L, lua_Writer writer, void *data) { in lua_dump()
1010 LUA_API int lua_status (lua_State *L) { in lua_status()
1019 LUA_API int lua_gc (lua_State *L, int what, int data) { in lua_gc()
1103 LUA_API int lua_error (lua_State *L) { in lua_error()
1112 LUA_API int lua_next (lua_State *L, int idx) { in lua_next()
1129 LUA_API void lua_concat (lua_State *L, int n) { in lua_concat()
1145 LUA_API void lua_len (lua_State *L, int idx) { in lua_len()
1155 LUA_API lua_Alloc lua_getallocf (lua_State *L, void **ud) { in lua_getallocf()
1165 LUA_API void lua_setallocf (lua_State *L, lua_Alloc f, void *ud) { in lua_setallocf()
1173 LUA_API void *lua_newuserdata (lua_State *L, size_t size) { in lua_newuserdata()
1211 LUA_API const char *lua_getupvalue (lua_State *L, int funcindex, int n) { in lua_getupvalue()
1225 LUA_API const char *lua_setupvalue (lua_State *L, int funcindex, int n) { in lua_setupvalue()
1244 static UpVal **getupvalref (lua_State *L, int fidx, int n, LClosure **pf) { in getupvalref()
1255 LUA_API void *lua_upvalueid (lua_State *L, int fidx, int n) { in lua_upvalueid()
1274 LUA_API void lua_upvaluejoin (lua_State *L, int fidx1, int n1, in lua_upvaluejoin()