summaryrefslogtreecommitdiff
path: root/include/libcss/computed.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2016-11-19 14:55:15 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2016-11-19 14:55:15 +0000
commitd986c1c356aba25bdf0b977133b387fbdad5aa90 (patch)
treedc89f39bb687a2fd92042b5c8c824eda4c714c79 /include/libcss/computed.h
parent2786e780f20eb45f3ee3f18585d23555a06a1431 (diff)
parent216d0931dd56af5043218ccdf3dd99d5c6216979 (diff)
downloadlibcss-d986c1c356aba25bdf0b977133b387fbdad5aa90.tar.gz
libcss-d986c1c356aba25bdf0b977133b387fbdad5aa90.tar.bz2
Merge branch 'tlsa/shared-styles'
Diffstat (limited to 'include/libcss/computed.h')
-rw-r--r--include/libcss/computed.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/include/libcss/computed.h b/include/libcss/computed.h
index 3470da8..c7e77e0 100644
--- a/include/libcss/computed.h
+++ b/include/libcss/computed.h
@@ -76,19 +76,16 @@ typedef struct css_computed_content_item {
} data;
} css_computed_content_item;
-css_error css_computed_style_create(css_computed_style **result);
css_error css_computed_style_destroy(css_computed_style *style);
-css_error css_computed_style_initialise(css_computed_style *style,
- struct css_select_handler *handler, void *pw);
-
-css_error css_computed_style_compose(const css_computed_style *parent,
- const css_computed_style *child,
+css_error css_computed_style_compose(
+ const css_computed_style *restrict parent,
+ const css_computed_style *restrict child,
css_error (*compute_font_size)(void *pw,
const struct css_hint *parent,
struct css_hint *size),
void *pw,
- css_computed_style *result);
+ css_computed_style **restrict result);
/******************************************************************************
* Property accessors below here *