File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
864864lxb_url_is_special (const lxb_url_t * url )
865865{
866866 return url -> scheme .type != LXB_URL_SCHEMEL_TYPE__UNKNOWN ;
Original file line number Diff line number Diff line change @@ -763,6 +763,15 @@ LXB_API lxb_status_t
763763lxb_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 */
You can’t perform that action at this time.
0 commit comments