Home
last modified time | relevance | path

Searched refs:lua_setglobal (Results 1 – 6 of 6) sorted by relevance

/redis-3.2.3/deps/lua/src/
H A Dlbaselib.c629 lua_setglobal(L, "_G"); in base_open()
633 lua_setglobal(L, "_VERSION"); /* set global _VERSION */ in base_open()
644 lua_setglobal(L, "newproxy"); /* set global `newproxy' */ in base_open()
H A Dlua.h258 #define lua_register(L,n,f) (lua_pushcfunction(L, (f)), lua_setglobal(L, (n)))
276 #define lua_setglobal(L,s) lua_setfield(L, LUA_GLOBALSINDEX, (s)) macro
H A Dlua.c243 lua_setglobal(L, "arg"); in handle_script()
H A Dlua_cmsgpack.c919 lua_setglobal(L, LUACMSGPACK_NAME); in luaopen_cmsgpack()
940 lua_setglobal(L, LUACMSGPACK_SAFE_NAME); in luaopen_cmsgpack_safe()
H A Dlua_cjson.c1411 lua_setglobal(l, CJSON_MODNAME); in luaopen_cjson()
/redis-3.2.3/src/
H A Dscripting.c841 lua_setglobal(lua,"loadfile"); in luaRemoveUnsupportedFunctions()
843 lua_setglobal(lua,"dofile"); in luaRemoveUnsupportedFunctions()
999 lua_setglobal(lua,"redis"); in scriptingInit()
1012 lua_setglobal(lua,"math"); in scriptingInit()
1086 lua_setglobal(lua,var); in luaSetGlobalArray()