]> gitweb.michael.orlitzky.com - libsvgtiny.git/commit
src/svgtiny.c: initialize the libcss context in svgtiny_parse()
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 4 Oct 2023 04:11:11 +0000 (00:11 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 4 Oct 2023 11:31:34 +0000 (07:31 -0400)
commitb95ec8cedeffd1f1050c92bb934751811fa3c6df
tree4daef6525ea8932ccd5146c43ebeb155ff944ab2
parenta5bf4ea6e6f6f3f9623cb63963e591f030396fa7
src/svgtiny.c: initialize the libcss context in svgtiny_parse()

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