| 17162 | } |
| 17163 | |
| 17164 | ada_string ada_get_search(ada_url result) noexcept { |
| 17165 | ada::result<ada::url_aggregator>& r = get_instance(result); |
| 17166 | if (!r) { |
| 17167 | return ada_string_create(nullptr, 0); |
| 17168 | } |
| 17169 | std::string_view out = r->get_search(); |
| 17170 | return ada_string_create(out.data(), out.length()); |
| 17171 | } |
| 17172 | |
| 17173 | ada_string ada_get_protocol(ada_url result) noexcept { |
| 17174 | ada::result<ada::url_aggregator>& r = get_instance(result); |
nothing calls this directly
no test coverage detected