]> 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, 9 Jun 2025 01:13:06 +0000 (21:13 -0400)
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 ff89484c8a7483d3031ebd2c48acbf332fddce05..053c8ad28dfed548ad17763e35a42d977ccec9d0 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)