File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 1
- /* auto-generated on 2023-08-30 11:44:21 -0400. Do not edit! */
1
+ /* auto-generated on 2023-09-05 14:59:23 -0400. Do not edit! */
2
2
/* begin file src/ada.cpp */
3
3
#include "ada.h"
4
4
/* begin file src/checkers.cpp */
@@ -15009,6 +15009,14 @@ uint8_t ada_get_host_type(ada_url result) noexcept {
15009
15009
return r->host_type;
15010
15010
}
15011
15011
15012
+ uint8_t ada_get_schema_type(ada_url result) noexcept {
15013
+ ada::result<ada::url_aggregator>& r = get_instance(result);
15014
+ if (!r) {
15015
+ return 0;
15016
+ }
15017
+ return r->type;
15018
+ }
15019
+
15012
15020
bool ada_set_href(ada_url result, const char* input, size_t length) noexcept {
15013
15021
ada::result<ada::url_aggregator>& r = get_instance(result);
15014
15022
if (!r) {
Original file line number Diff line number Diff line change 1
- /* auto-generated on 2023-08-30 11:44:21 -0400. Do not edit! */
1
+ /* auto-generated on 2023-09-05 14:59:23 -0400. Do not edit! */
2
2
/* begin file include/ada.h */
3
3
/* *
4
4
* @file ada.h
@@ -6926,14 +6926,14 @@ inline void url_search_params::sort() {
6926
6926
#ifndef ADA_ADA_VERSION_H
6927
6927
#define ADA_ADA_VERSION_H
6928
6928
6929
- #define ADA_VERSION " 2.6.5 "
6929
+ #define ADA_VERSION " 2.6.6 "
6930
6930
6931
6931
namespace ada {
6932
6932
6933
6933
enum {
6934
6934
ADA_VERSION_MAJOR = 2 ,
6935
6935
ADA_VERSION_MINOR = 6 ,
6936
- ADA_VERSION_REVISION = 5 ,
6936
+ ADA_VERSION_REVISION = 6 ,
6937
6937
};
6938
6938
6939
6939
} // namespace ada
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ ada_string ada_get_pathname(ada_url result);
69
69
ada_string ada_get_search (ada_url result );
70
70
ada_string ada_get_protocol (ada_url result );
71
71
uint8_t ada_get_host_type (ada_url result );
72
+ uint8_t ada_get_schema_type (ada_url result );
72
73
73
74
// url_aggregator setters
74
75
// if ada_is_valid(result)) is false, the setters have no effect
You can’t perform that action at this time.
0 commit comments