Skip to content

Commit 384ec69

Browse files
committed
Updating lexbor for #22075
1 parent 4c027ea commit 384ec69

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

ext/lexbor/lexbor/url/url.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ lxb_url_is_url_codepoint(lxb_codepoint_t cp)
860860
return lxb_url_codepoint_alphanumeric[(lxb_char_t) cp] != 0xFF;
861861
}
862862

863-
lxb_inline bool
863+
bool
864864
lxb_url_is_special(const lxb_url_t *url)
865865
{
866866
return url->scheme.type != LXB_URL_SCHEMEL_TYPE__UNKNOWN;

ext/lexbor/lexbor/url/url.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,15 @@ LXB_API lxb_status_t
763763
lxb_url_search_params_serialize(lxb_url_search_params_t *search_params,
764764
lexbor_callback_f cb, void *ctx);
765765

766+
/**
767+
* Returns whether the URL is special.
768+
*
769+
* @param[in] lxb_url_t *. Cannot be NULL.
770+
* @return true if URL is special, false otherwise.
771+
*/
772+
LXB_API bool
773+
lxb_url_is_special(const lxb_url_t *url);
774+
766775
/*
767776
* Inline functions.
768777
*/

0 commit comments

Comments
 (0)