From e5b97318f0a0f6a83f98a2eda52aace1a4d60291 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 17 Oct 2023 20:08:55 -0400 Subject: [PATCH] src/svgtiny_internal.h: add svgtiny_select_style() to the header We'll need a prototype in order to use that function in svgtiny.c. --- src/svgtiny_internal.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/svgtiny_internal.h b/src/svgtiny_internal.h index ba0db70..6d716f5 100644 --- a/src/svgtiny_internal.h +++ b/src/svgtiny_internal.h @@ -102,6 +102,10 @@ char *svgtiny_strndup(const char *s, size_t n); /* svgtiny_css.c */ css_error svgtiny_create_stylesheet(css_stylesheet **sheet, bool inline_style); +css_error svgtiny_select_style(struct svgtiny_parse_state *state, + dom_element *node, + const css_stylesheet *inline_sheet, + css_select_results **result); /* svgtiny_gradient.c */ void svgtiny_find_gradient(const char *id, -- 2.44.2