Searched refs:lua_CFunction (Results 1 – 9 of 9) sorted by relevance
/aosp_15_r20/external/lua/src/ |
H A D | loadlib.c | 99 static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym); 122 #define cast_func(p) (__extension__ (lua_CFunction)(p)) 124 #define cast_func(p) ((lua_CFunction)(p)) 140 static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym) { in lsys_sym() 141 lua_CFunction f = cast_func(dlsym(lib, sym)); in lsys_sym() 215 static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym) { in lsys_sym() 216 lua_CFunction f = (lua_CFunction)(voidf)GetProcAddress((HMODULE)lib, sym); in lsys_sym() 250 static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym) { in lsys_sym() 400 lua_CFunction f = lsys_sym(L, reg, sym); in lookforfunc() 708 static const lua_CFunction searchers[] = in createsearcherstable()
|
H A D | lua.h | 106 typedef int (*lua_CFunction) (lua_State *L); typedef 158 LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf); 195 LUA_API lua_CFunction (lua_tocfunction) (lua_State *L, int idx); 241 LUA_API void (lua_pushcclosure) (lua_State *L, lua_CFunction fn, int n);
|
H A D | lauxlib.h | 39 lua_CFunction func; 117 lua_CFunction openf, int glb); 222 lua_CFunction closef; /* to close stream (NULL for closed streams) */
|
H A D | lapi.c | 136 LUA_API lua_CFunction lua_atpanic (lua_State *L, lua_CFunction panicf) { in lua_atpanic() 137 lua_CFunction old; in lua_atpanic() 414 LUA_API lua_CFunction lua_tocfunction (lua_State *L, int idx) { in lua_tocfunction() 555 LUA_API void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n) { in lua_pushcclosure()
|
H A D | lobject.h | 50 lua_CFunction f; /* light C functions */ 624 lua_CFunction f;
|
H A D | lstate.h | 291 lua_CFunction panic; /* to be called in unprotected errors */
|
H A D | liolib.c | 210 volatile lua_CFunction cf = p->closef; in aux_close()
|
H A D | ldo.c | 458 lua_CFunction f; in luaD_call()
|
H A D | lauxlib.c | 946 lua_CFunction openf, int glb) { in luaL_requiref()
|