Home
last modified time | relevance | path

Searched refs:lua_touserdata (Results 1 – 8 of 8) sorted by relevance

/redis-3.2.3/deps/lua/src/
H A Dliolib.c60 ud = lua_touserdata(L, 1); in io_type()
193 f = *(FILE **)lua_touserdata(L, -1); in getiofile()
392 FILE *f = *(FILE **)lua_touserdata(L, lua_upvalueindex(1)); in io_readline()
H A Dloadlib.c267 plib = (void **)lua_touserdata(L, -1); in ll_register()
458 if (lua_touserdata(L, -1) == sentinel) /* check loops */ in ll_require()
488 if (lua_touserdata(L, -1) == sentinel) { /* module did not set a value? */ in ll_require()
H A Dluac.c160 struct Smain* s = (struct Smain*)lua_touserdata(L, 1); in pmain()
H A Dlua_cjson.c198 cfg = lua_touserdata(l, lua_upvalueindex(1)); in json_fetch_config()
365 cfg = lua_touserdata(l, 1); in json_destroy_config()
691 if (lua_touserdata(l, -1) == NULL) { in json_append_data()
H A Dlua.c341 struct Smain *s = (struct Smain *)lua_touserdata(L, 1); in pmain()
H A Dlua.h152 LUA_API void *(lua_touserdata) (lua_State *L, int idx); variable
H A Dlapi.c385 LUA_API void *lua_touserdata (lua_State *L, int idx) { in lua_touserdata() function
409 return lua_touserdata(L, idx); in lua_topointer()
H A Dlauxlib.c125 void *p = lua_touserdata(L, ud); in luaL_checkudata()