X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2Fsvgtiny_internal.h;h=ba0db7029b30d719dc74d2dd401fdce9d1de0ac7;hb=545123c6ec9a3d3903e713c1c2919762417538dd;hp=7480f233539cdeb11b89aa7c319ec5d084c74dc3;hpb=3e5238db0f40672c24530f2443f834c3f7b7ca1a;p=libsvgtiny.git diff --git a/src/svgtiny_internal.h b/src/svgtiny_internal.h index 7480f23..ba0db70 100644 --- a/src/svgtiny_internal.h +++ b/src/svgtiny_internal.h @@ -68,6 +68,14 @@ struct svgtiny_parse_state { #include "svgtiny_strings.h" #undef SVGTINY_STRING_ACTION2 + /* Where we store the interned copy of the SVG XML namespace, + * + * http://www.w3.org/2000/svg + * + * We handle it separately it has a different type + * (lwc_string) than those above (dom_string). + */ + lwc_string *interned_svg_xmlns; }; struct svgtiny_list; @@ -91,6 +99,10 @@ char *svgtiny_strndup(const char *s, size_t n); #define strndup svgtiny_strndup #endif +/* svgtiny_css.c */ +css_error svgtiny_create_stylesheet(css_stylesheet **sheet, + bool inline_style); + /* svgtiny_gradient.c */ void svgtiny_find_gradient(const char *id, struct svgtiny_parse_state_gradient *grad,