| 17126 | } |
| 17127 | |
| 17128 | ada_string ada_get_hash(ada_url result) noexcept { |
| 17129 | ada::result<ada::url_aggregator>& r = get_instance(result); |
| 17130 | if (!r) { |
| 17131 | return ada_string_create(nullptr, 0); |
| 17132 | } |
| 17133 | std::string_view out = r->get_hash(); |
| 17134 | return ada_string_create(out.data(), out.length()); |
| 17135 | } |
| 17136 | |
| 17137 | ada_string ada_get_host(ada_url result) noexcept { |
| 17138 | ada::result<ada::url_aggregator>& r = get_instance(result); |
nothing calls this directly
no test coverage detected