Lines Matching refs:sym
47 static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym);
75 static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { in ll_sym() argument
76 lua_CFunction f = (lua_CFunction)dlsym(lib, sym); in ll_sym()
134 static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { in ll_sym() argument
135 lua_CFunction f = (lua_CFunction)GetProcAddress((HINSTANCE)lib, sym); in ll_sym()
212 static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { in ll_sym() argument
213 NSSymbol nss = NSLookupSymbolInModule((NSModule)lib, sym); in ll_sym()
215 lua_pushfstring(L, "symbol " LUA_QS " not found", sym); in ll_sym()
251 static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { in ll_sym() argument
252 (void)lib; (void)sym; /* to avoid warnings */ in ll_sym()
294 static int ll_loadfunc (lua_State *L, const char *path, const char *sym) { in ll_loadfunc() argument
300 lua_CFunction f = ll_sym(L, *reg, sym); in ll_loadfunc()