summaryrefslogtreecommitdiff
path: root/src/select/properties/helpers.h
diff options
context:
space:
mode:
authorMichael Drake <Michael Drake tlsa@netsurf-browser.org>2020-12-04 13:39:28 +0000
committerMichael Drake <Michael Drake tlsa@netsurf-browser.org>2020-12-04 13:41:33 +0000
commite8238ac2dab2a9c8cd31e7f66504218cf90c4d23 (patch)
tree4e5c33647da6f2334eece2b2cf6858d4be100b1e /src/select/properties/helpers.h
parent03ab48a3171d358d50d0d97331a64a79c084521b (diff)
downloadlibcss-e8238ac2dab2a9c8cd31e7f66504218cf90c4d23.tar.gz
libcss-e8238ac2dab2a9c8cd31e7f66504218cf90c4d23.tar.bz2
select: Split out bytecode to unit conversion helper.
Diffstat (limited to 'src/select/properties/helpers.h')
-rw-r--r--src/select/properties/helpers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/select/properties/helpers.h b/src/select/properties/helpers.h
index 901bcf0..60e5b4c 100644
--- a/src/select/properties/helpers.h
+++ b/src/select/properties/helpers.h
@@ -8,13 +8,13 @@
#ifndef css_select_properties_helpers_h_
#define css_select_properties_helpers_h_
+#include "select/helpers.h"
+
uint32_t generic_destroy_color(void *bytecode);
uint32_t generic_destroy_uri(void *bytecode);
uint32_t generic_destroy_length(void *bytecode);
uint32_t generic_destroy_number(void *bytecode);
-css_unit css__to_css_unit(uint32_t u);
-
css_error css__cascade_bg_border_color(uint32_t opv, css_style *style,
css_select_state *state,
css_error (*fun)(css_computed_style *, uint8_t, css_color));