Skip to content

Commit 917cd12

Browse files
authored
chore: update ada to v2.6.6 (#53)
1 parent 16ec8aa commit 917cd12

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

deps/ada.cpp

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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! */
22
/* begin file src/ada.cpp */
33
#include "ada.h"
44
/* begin file src/checkers.cpp */
@@ -15009,6 +15009,14 @@ uint8_t ada_get_host_type(ada_url result) noexcept {
1500915009
return r->host_type;
1501015010
}
1501115011

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+
1501215020
bool ada_set_href(ada_url result, const char* input, size_t length) noexcept {
1501315021
ada::result<ada::url_aggregator>& r = get_instance(result);
1501415022
if (!r) {

deps/ada.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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! */
22
/* begin file include/ada.h */
33
/**
44
* @file ada.h
@@ -6926,14 +6926,14 @@ inline void url_search_params::sort() {
69266926
#ifndef ADA_ADA_VERSION_H
69276927
#define ADA_ADA_VERSION_H
69286928

6929-
#define ADA_VERSION "2.6.5"
6929+
#define ADA_VERSION "2.6.6"
69306930

69316931
namespace ada {
69326932

69336933
enum {
69346934
ADA_VERSION_MAJOR = 2,
69356935
ADA_VERSION_MINOR = 6,
6936-
ADA_VERSION_REVISION = 5,
6936+
ADA_VERSION_REVISION = 6,
69376937
};
69386938

69396939
} // namespace ada

deps/ada_c.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ ada_string ada_get_pathname(ada_url result);
6969
ada_string ada_get_search(ada_url result);
7070
ada_string ada_get_protocol(ada_url result);
7171
uint8_t ada_get_host_type(ada_url result);
72+
uint8_t ada_get_schema_type(ada_url result);
7273

7374
// url_aggregator setters
7475
// if ada_is_valid(result)) is false, the setters have no effect

0 commit comments

Comments
 (0)