Searched refs:lua_touserdata (Results 1 – 8 of 8) sorted by relevance
| /redis-3.2.3/deps/lua/src/ |
| H A D | liolib.c | 60 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 D | loadlib.c | 267 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 D | luac.c | 160 struct Smain* s = (struct Smain*)lua_touserdata(L, 1); in pmain()
|
| H A D | lua_cjson.c | 198 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 D | lua.c | 341 struct Smain *s = (struct Smain *)lua_touserdata(L, 1); in pmain()
|
| H A D | lua.h | 152 LUA_API void *(lua_touserdata) (lua_State *L, int idx); variable
|
| H A D | lapi.c | 385 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 D | lauxlib.c | 125 void *p = lua_touserdata(L, ud); in luaL_checkudata()
|