From: Michael Orlitzky Date: Tue, 17 Oct 2023 14:22:35 +0000 (-0400) Subject: src/svgtiny_strings.h: intern a "userdata" key string X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=2ab992653e814ac7252d127128c4ae88f8efb8cc;hp=2ab992653e814ac7252d127128c4ae88f8efb8cc;p=libsvgtiny.git src/svgtiny_strings.h: intern a "userdata" key string To implement libcss's select handler API, we need to implement two functions that get/set "userdata" on a node. The corresponding libdom API allows you to set arbitrary data in the form of key->value pairs; so to identify THIS particular data, we need to use the same string each time. For that reason we intern "_libcss_user_data" and call it the "userdata_key". ---