| 438 | } |
| 439 | |
| 440 | static int64_t Vec_To(const std::vector<Slice>& vec) { |
| 441 | std::vector<int64_t> buf(vec.size()); |
| 442 | for (size_t i = 0; i < vec.size(); i++) { |
| 443 | buf[i] = Str_Retain(vec[i]); |
| 444 | } |
| 445 | return Vec_Retain(dora_vec_t(std::move(buf))); |
| 446 | } |
| 447 | |
| 448 | static int64_t Vec_To(const std::vector<std::string>& vec) { |
| 449 | std::vector<int64_t> buf(vec.size()); |
no test coverage detected