MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / redisProtocolToLuaType_Bool

Function redisProtocolToLuaType_Bool

src/scripting.cpp:257–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257char *redisProtocolToLuaType_Bool(lua_State *lua, char *reply, int tf) {
258 char *p = strchr(reply+1,'\r');
259 lua_pushboolean(lua,tf == 't');
260 return p+2;
261}
262
263char *redisProtocolToLuaType_Double(lua_State *lua, char *reply) {
264 char *p = strchr(reply+1,'\r');

Callers 1

redisProtocolToLuaTypeFunction · 0.85

Calls 1

lua_pushbooleanFunction · 0.85

Tested by

no test coverage detected