| 17099 | } |
| 17100 | |
| 17101 | ada_string ada_get_username(ada_url result) noexcept { |
| 17102 | ada::result<ada::url_aggregator>& r = get_instance(result); |
| 17103 | if (!r) { |
| 17104 | return ada_string_create(nullptr, 0); |
| 17105 | } |
| 17106 | std::string_view out = r->get_username(); |
| 17107 | return ada_string_create(out.data(), out.length()); |
| 17108 | } |
| 17109 | |
| 17110 | ada_string ada_get_password(ada_url result) noexcept { |
| 17111 | ada::result<ada::url_aggregator>& r = get_instance(result); |
nothing calls this directly
no test coverage detected