]> gitweb.michael.orlitzky.com - libsvgtiny.git/commit
src/svgtiny.c: initialise/finalise the libcss context
authorMichael Orlitzky <michael@orlitzky.com>
Sat, 7 Jun 2025 13:51:16 +0000 (09:51 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 8 Jun 2025 02:18:20 +0000 (22:18 -0400)
commitaea9d4928943578b10986628ab2a7ef70aab09e8
tree082a9a6ffdc3b2f61a480d9f76cca520c4f50bcc
parent568bfc57a2de531fe5cfd25e67f9b203b7ed6c0c
src/svgtiny.c: initialise/finalise the libcss context

Before we begin parsing, we have to initialize our new css_select_ctx
by calling css_select_ctx_create(). Later, when parsing is complete,
we css_select_ctx_destroy() it.
src/svgtiny.c