| 56 | } |
| 57 | |
| 58 | bool redis_script::eval_number(const char* script, |
| 59 | const std::vector<string>& keys, |
| 60 | const std::vector<string>& args, |
| 61 | int& out) |
| 62 | { |
| 63 | const redis_result* result = eval_cmd("EVAL", script, keys, args); |
| 64 | if (result == NULL) { |
| 65 | return false; |
| 66 | } |
| 67 | |
| 68 | bool success; |
| 69 | out = result->get_integer(&success); |
| 70 | return success; |
| 71 | } |
| 72 | |
| 73 | bool redis_script::eval_number64(const char* script, |
| 74 | const std::vector<string>& keys, |
nothing calls this directly
no test coverage detected