TODO should return fvec, ivec, or bvec depending on input. How do bvec, though?
| 192 | // TODO should return fvec, ivec, or bvec depending on input. How do bvec, |
| 193 | // though? |
| 194 | static void vector_from(sqlite3_context *context, |
| 195 | int argc, |
| 196 | sqlite3_value **argv) { |
| 197 | |
| 198 | vector<float> vec; |
| 199 | vec.reserve(argc); |
| 200 | for (int i = 0; i < argc; i++) { |
| 201 | vec.push_back(sqlite3_value_double(argv[i])); |
| 202 | } |
| 203 | |
| 204 | resultVector(context, &vec); |
| 205 | } |
| 206 | |
| 207 | #pragma endregion |
| 208 |
nothing calls this directly
no test coverage detected