]> gitweb.michael.orlitzky.com - libsvgtiny.git/commitdiff
src/svgtiny_strings.h: intern "id" for libcss
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 12 Oct 2023 02:17:34 +0000 (22:17 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 20 Nov 2023 01:37:04 +0000 (20:37 -0500)
As a prerequisite for implementing a libcss node_id() select handler,
we intern the string "id" that it will need access to.

src/svgtiny_strings.h

index dfd6c2253a44dbeceaee0db688134a635ca6d811..38fdd2c37069759bb22efb5bf86d12e192b05daf 100644 (file)
@@ -10,6 +10,7 @@
 
 #define SVGTINY_STRING_ACTION(s) SVGTINY_STRING_ACTION2(s,s)
 
+SVGTINY_STRING_ACTION(id)
 SVGTINY_STRING_ACTION(svg)
 SVGTINY_STRING_ACTION(viewBox)
 SVGTINY_STRING_ACTION(a)