| 17153 | } |
| 17154 | |
| 17155 | ada_string ada_get_pathname(ada_url result) noexcept { |
| 17156 | ada::result<ada::url_aggregator>& r = get_instance(result); |
| 17157 | if (!r) { |
| 17158 | return ada_string_create(nullptr, 0); |
| 17159 | } |
| 17160 | std::string_view out = r->get_pathname(); |
| 17161 | return ada_string_create(out.data(), out.length()); |
| 17162 | } |
| 17163 | |
| 17164 | ada_string ada_get_search(ada_url result) noexcept { |
| 17165 | ada::result<ada::url_aggregator>& r = get_instance(result); |
nothing calls this directly
no test coverage detected