X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/48a32944e6b5e30754701109ff23d85a418d3d4d..518e7202b29a287f49671fd32f706054570b3f4e:/src/scripting.c?ds=inline diff --git a/src/scripting.c b/src/scripting.c index 9d41a45f..ce1f0877 100644 --- a/src/scripting.c +++ b/src/scripting.c @@ -344,6 +344,7 @@ void luaLoadLib(lua_State *lua, const char *libname, lua_CFunction luafunc) { LUALIB_API int (luaopen_cjson) (lua_State *L); LUALIB_API int (luaopen_struct) (lua_State *L); +LUALIB_API int (luaopen_cmsgpack) (lua_State *L); void luaLoadLibraries(lua_State *lua) { luaLoadLib(lua, "", luaopen_base); @@ -353,6 +354,7 @@ void luaLoadLibraries(lua_State *lua) { luaLoadLib(lua, LUA_DBLIBNAME, luaopen_debug); luaLoadLib(lua, "cjson", luaopen_cjson); luaLoadLib(lua, "struct", luaopen_struct); + luaLoadLib(lua, "cmsgpack", luaopen_cmsgpack); #if 0 /* Stuff that we don't load currently, for sandboxing concerns. */ luaLoadLib(lua, LUA_LOADLIBNAME, luaopen_package);