]> gitweb.michael.orlitzky.com - libsvgtiny.git/commit
src/svgtiny_css.c: future-proof svgtiny_dom_user_data_handler()
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 22 Oct 2024 10:50:24 +0000 (06:50 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 22 Oct 2024 10:50:24 +0000 (06:50 -0400)
commitedc36f5ff3122f012f3112a65ccb75956548c9e0
tree892862567d7c7c8cfc2ed5613a124456e43048d2
parent50bfca986511c3ee17dc8328da30567fae74116a
src/svgtiny_css.c: future-proof svgtiny_dom_user_data_handler()

Although dom_node_set_user_data() can only return two values (OK, and
out-of-memory) at the moment, it may return others in the future. We
now catch all other return values and convert them into CSS_INVALID.
src/svgtiny_css.c