Home
last modified time | relevance | path

Searched refs:lua_CFunction (Results 1 – 14 of 14) sorted by relevance

/netbsd-src/external/mit/lua/dist/src/
H A Dloadlib.c101 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 Dlua.h110 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 Dlauxlib.h44 lua_CFunction func;
131 lua_CFunction openf, int glb);
263 lua_CFunction closef; /* to close stream (NULL for closed streams) */
H A Dlapi.c150 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 Dlobject.h54 lua_CFunction f; /* light C functions */
663 lua_CFunction f;
H A Dlstate.h297 lua_CFunction panic; /* to be called in unprotected errors */
H A Dliolib.c218 volatile lua_CFunction cf = p->closef; in aux_close()
H A Dltable.c186 lua_CFunction f = fvalue(key); in mainpositionTV()
H A Dlauxlib.c993 lua_CFunction openf, int glb) { in luaL_requiref()
H A Dldo.c521 lua_CFunction f) { in precallC()
/netbsd-src/sys/modules/lua/
H A Dluavar.h38 lua_CFunction open;
H A Dlua.c626 klua_mod_register(const char *name, lua_CFunction open) in klua_mod_register()
/netbsd-src/sys/sys/
H A Dlua.h87 extern int klua_mod_register(const char *, lua_CFunction);
/netbsd-src/libexec/httpd/
H A Dlua-bozo.c177 lua_openlib(lua_State *L, const char *name, lua_CFunction fn) in lua_openlib()