]> gitweb.michael.orlitzky.com - libsvgtiny.git/blobdiff - src/svgtiny_internal.h
src/svgtiny{.c,_internal.h}: intern SVG's XML namespace URI
[libsvgtiny.git] / src / svgtiny_internal.h
index 6b7bd92dffe0e8acafc57670492b82a32ad4742a..ba0db7029b30d719dc74d2dd401fdce9d1de0ac7 100644 (file)
@@ -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;