| 17090 | } |
| 17091 | |
| 17092 | ada_string ada_get_href(ada_url result) noexcept { |
| 17093 | ada::result<ada::url_aggregator>& r = get_instance(result); |
| 17094 | if (!r) { |
| 17095 | return ada_string_create(nullptr, 0); |
| 17096 | } |
| 17097 | std::string_view out = r->get_href(); |
| 17098 | return ada_string_create(out.data(), out.length()); |
| 17099 | } |
| 17100 | |
| 17101 | ada_string ada_get_username(ada_url result) noexcept { |
| 17102 | ada::result<ada::url_aggregator>& r = get_instance(result); |
nothing calls this directly
no test coverage detected