* gaflight_path_descriptor_new: * @paths: (array length=n_paths): List of paths identifying a * particular dataset. * @n_paths: The number of @paths. * * Returns: The newly created #GAFlightPathDescriptor. * * Since: 5.0.0 */
| 446 | * Since: 5.0.0 |
| 447 | */ |
| 448 | GAFlightPathDescriptor * |
| 449 | gaflight_path_descriptor_new(const gchar **paths, gsize n_paths) |
| 450 | { |
| 451 | std::vector<std::string> flight_paths; |
| 452 | for (gsize i = 0; i < n_paths; i++) { |
| 453 | flight_paths.push_back(paths[i]); |
| 454 | } |
| 455 | auto flight_descriptor = arrow::flight::FlightDescriptor::Path(flight_paths); |
| 456 | return GAFLIGHT_PATH_DESCRIPTOR(gaflight_descriptor_new_raw(&flight_descriptor)); |
| 457 | } |
| 458 | |
| 459 | /** |
| 460 | * gaflight_path_descriptor_get_paths: |
nothing calls this directly
no test coverage detected