Searched refs:lua_CFunction (Results 1 – 14 of 14) sorted by relevance
/netbsd-src/external/mit/lua/dist/src/ |
H A D | loadlib.c | 101 static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym); 124 #define cast_func(p) (__extension__ (lua_CFunction)(p)) 126 #define cast_func(p) ((lua_CFunction)(p)) 143 static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym) { in lsys_sym() 144 lua_CFunction f = cast_func(dlsym(lib, sym)); in lsys_sym() 219 static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym) { in lsys_sym() 220 lua_CFunction f = (lua_CFunction)(voidf)GetProcAddress((HMODULE)lib, sym); in lsys_sym() 254 static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym) { in lsys_sym() 404 lua_CFunction f = lsys_sym(L, reg, sym); in lookforfunc() 713 static const lua_CFunction searchers[] = { in createsearcherstable()
|
H A D | lua.h | 110 typedef int (*lua_CFunction) (lua_State *L); typedef 173 LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf); 214 LUA_API lua_CFunction (lua_tocfunction) (lua_State *L, int idx); 275 LUA_API void (lua_pushcclosure) (lua_State *L, lua_CFunction fn, int n);
|
H A D | lauxlib.h | 44 lua_CFunction func; 131 lua_CFunction openf, int glb); 263 lua_CFunction closef; /* to close stream (NULL for closed streams) */
|
H A D | lapi.c | 150 LUA_API lua_CFunction lua_atpanic (lua_State *L, lua_CFunction panicf) { in lua_atpanic() 151 lua_CFunction old; in lua_atpanic() 446 LUA_API lua_CFunction lua_tocfunction (lua_State *L, int idx) { in lua_tocfunction() 589 LUA_API void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n) { in lua_pushcclosure()
|
H A D | lobject.h | 54 lua_CFunction f; /* light C functions */ 663 lua_CFunction f;
|
H A D | lstate.h | 297 lua_CFunction panic; /* to be called in unprotected errors */
|
H A D | liolib.c | 218 volatile lua_CFunction cf = p->closef; in aux_close()
|
H A D | ltable.c | 186 lua_CFunction f = fvalue(key); in mainpositionTV()
|
H A D | lauxlib.c | 993 lua_CFunction openf, int glb) { in luaL_requiref()
|
H A D | ldo.c | 521 lua_CFunction f) { in precallC()
|
/netbsd-src/sys/modules/lua/ |
H A D | luavar.h | 38 lua_CFunction open;
|
H A D | lua.c | 626 klua_mod_register(const char *name, lua_CFunction open) in klua_mod_register()
|
/netbsd-src/sys/sys/ |
H A D | lua.h | 87 extern int klua_mod_register(const char *, lua_CFunction);
|
/netbsd-src/libexec/httpd/ |
H A D | lua-bozo.c | 177 lua_openlib(lua_State *L, const char *name, lua_CFunction fn) in lua_openlib()
|