| 1230 | } |
| 1231 | |
| 1232 | const char *RedisProtocolToLuaTypeBigNumber(lua_State *lua, const char *reply) { |
| 1233 | const char *p = strchr(reply + 1, '\r'); |
| 1234 | lua_newtable(lua); |
| 1235 | lua_pushstring(lua, "big_number"); |
| 1236 | lua_pushlstring(lua, reply + 1, p - reply - 1); |
| 1237 | lua_settable(lua, -3); |
| 1238 | return p + 2; |
| 1239 | } |
| 1240 | |
| 1241 | const char *RedisProtocolToLuaTypeVerbatimString(lua_State *lua, const char *reply) { |
| 1242 | const char *p = strchr(reply + 1, '\r'); |
no outgoing calls
no test coverage detected