From 33b37afeab6180e4fdc3c97f7f6cc713686ac6a9 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Thu, 20 Jan 2011 11:59:46 +0000 Subject: Ensure there are zero global symbols without css_ or css__ in front of them. This helps prevent confusion if someone else wants a function called parse_background or similar svn path=/trunk/libcss/; revision=11416 --- src/select/properties/visibility.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/select/properties/visibility.c') diff --git a/src/select/properties/visibility.c b/src/select/properties/visibility.c index 2616c04..dd1c1e3 100644 --- a/src/select/properties/visibility.c +++ b/src/select/properties/visibility.c @@ -14,7 +14,7 @@ #include "select/properties/properties.h" #include "select/properties/helpers.h" -css_error cascade_visibility(uint32_t opv, css_style *style, +css_error css__cascade_visibility(uint32_t opv, css_style *style, css_select_state *state) { uint16_t value = CSS_VISIBILITY_INHERIT; @@ -35,7 +35,7 @@ css_error cascade_visibility(uint32_t opv, css_style *style, } } - if (outranks_existing(getOpcode(opv), isImportant(opv), state, + if (css__outranks_existing(getOpcode(opv), isImportant(opv), state, isInherit(opv))) { return set_visibility(state->computed, value); } @@ -43,18 +43,18 @@ css_error cascade_visibility(uint32_t opv, css_style *style, return CSS_OK; } -css_error set_visibility_from_hint(const css_hint *hint, +css_error css__set_visibility_from_hint(const css_hint *hint, css_computed_style *style) { return set_visibility(style, hint->status); } -css_error initial_visibility(css_select_state *state) +css_error css__initial_visibility(css_select_state *state) { return set_visibility(state->computed, CSS_VISIBILITY_VISIBLE); } -css_error compose_visibility(const css_computed_style *parent, +css_error css__compose_visibility(const css_computed_style *parent, const css_computed_style *child, css_computed_style *result) { -- cgit v1.2.3