diff options
author | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2011-01-20 11:59:46 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2011-01-20 11:59:46 +0000 |
commit | 33b37afeab6180e4fdc3c97f7f6cc713686ac6a9 (patch) | |
tree | feb641941e4fbd0db11bf70415fee5e3be50a08a /src/select/properties/margin_top.c | |
parent | a8537a5405583a4c975b56d95cab8bdd5d406e9f (diff) | |
download | libcss-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/margin_top.c')
-rw-r--r-- | src/select/properties/margin_top.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/select/properties/margin_top.c b/src/select/properties/margin_top.c index ec13e11..f66c8ee 100644 --- a/src/select/properties/margin_top.c +++ b/src/select/properties/margin_top.c @@ -14,25 +14,25 @@ #include "select/properties/properties.h" #include "select/properties/helpers.h" -css_error cascade_margin_top(uint32_t opv, css_style *style, +css_error css__cascade_margin_top(uint32_t opv, css_style *style, css_select_state *state) { - return cascade_length_auto(opv, style, state, set_margin_top); + return css__cascade_length_auto(opv, style, state, set_margin_top); } -css_error set_margin_top_from_hint(const css_hint *hint, +css_error css__set_margin_top_from_hint(const css_hint *hint, css_computed_style *style) { return set_margin_top(style, hint->status, hint->data.length.value, hint->data.length.unit); } -css_error initial_margin_top(css_select_state *state) +css_error css__initial_margin_top(css_select_state *state) { return set_margin_top(state->computed, CSS_MARGIN_SET, 0, CSS_UNIT_PX); } -css_error compose_margin_top(const css_computed_style *parent, +css_error css__compose_margin_top(const css_computed_style *parent, const css_computed_style *child, css_computed_style *result) { |