X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/2f75bbab0242f5dea4c976d7b3da719616166c75..f12d0224f34e1aa680aeebf581dc4d90a4d7d47e:/src/scripting.c 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);