* gaflight_descriptor_to_string: * @descriptor: A #GAFlightDescriptor. * * Returns: A descriptor as a string. * * It should be freed with g_free() when no longer needed. * * Since: 5.0.0 */
| 397 | * Since: 5.0.0 |
| 398 | */ |
| 399 | gchar * |
| 400 | gaflight_descriptor_to_string(GAFlightDescriptor *descriptor) |
| 401 | { |
| 402 | const auto flight_descriptor = gaflight_descriptor_get_raw(descriptor); |
| 403 | const auto string = flight_descriptor->ToString(); |
| 404 | return g_strdup(string.c_str()); |
| 405 | } |
| 406 | |
| 407 | /** |
| 408 | * gaflight_descriptor_equal: |
nothing calls this directly
no test coverage detected