summaryrefslogtreecommitdiff
path: root/src/select/properties/direction.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2011-01-20 11:59:46 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2011-01-20 11:59:46 +0000
commit33b37afeab6180e4fdc3c97f7f6cc713686ac6a9 (patch)
treefeb641941e4fbd0db11bf70415fee5e3be50a08a /src/select/properties/direction.c
parenta8537a5405583a4c975b56d95cab8bdd5d406e9f (diff)
downloadlibcss-33b37afeab6180e4fdc3c97f7f6cc713686ac6a9.tar.gz
libcss-33b37afeab6180e4fdc3c97f7f6cc713686ac6a9.tar.bz2
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
Diffstat (limited to 'src/select/properties/direction.c')
-rw-r--r--src/select/properties/direction.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/select/properties/direction.c b/src/select/properties/direction.c
index 6878f02..1e68123 100644
--- a/src/select/properties/direction.c
+++ b/src/select/properties/direction.c
@@ -14,7 +14,7 @@
#include "select/properties/properties.h"
#include "select/properties/helpers.h"
-css_error cascade_direction(uint32_t opv, css_style *style,
+css_error css__cascade_direction(uint32_t opv, css_style *style,
css_select_state *state)
{
uint16_t value = CSS_DIRECTION_INHERIT;
@@ -32,7 +32,7 @@ css_error cascade_direction(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_direction(state->computed, value);
}
@@ -40,18 +40,18 @@ css_error cascade_direction(uint32_t opv, css_style *style,
return CSS_OK;
}
-css_error set_direction_from_hint(const css_hint *hint,
+css_error css__set_direction_from_hint(const css_hint *hint,
css_computed_style *style)
{
return set_direction(style, hint->status);
}
-css_error initial_direction(css_select_state *state)
+css_error css__initial_direction(css_select_state *state)
{
return set_direction(state->computed, CSS_DIRECTION_LTR);
}
-css_error compose_direction(const css_computed_style *parent,
+css_error css__compose_direction(const css_computed_style *parent,
const css_computed_style *child,
css_computed_style *result)
{