summaryrefslogtreecommitdiff
path: root/include/libcss
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-02-07 02:08:15 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-02-07 02:08:15 +0000
commit3f5ac6a18b13034f14c7f9261f57887a52e454e3 (patch)
treea00df47421276213a980aa57612a643bbca3d607 /include/libcss
parent9ed557ba18facc04fd9d9b35a5dac15844f161c3 (diff)
downloadlibcss-3f5ac6a18b13034f14c7f9261f57887a52e454e3.tar.gz
libcss-3f5ac6a18b13034f14c7f9261f57887a52e454e3.tar.bz2
More API changes.
Make css_computed_style_create() private. Implement css_computed_style_[create,destroy](). svn path=/trunk/libcss/; revision=6389
Diffstat (limited to 'include/libcss')
-rw-r--r--include/libcss/computed.h4
-rw-r--r--include/libcss/select.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/include/libcss/computed.h b/include/libcss/computed.h
index f47c523..61cb888 100644
--- a/include/libcss/computed.h
+++ b/include/libcss/computed.h
@@ -294,13 +294,11 @@ struct css_computed_style {
void *pw;
};
-css_error css_computed_style_create(css_alloc alloc, void *pw,
- css_computed_style **result);
css_error css_computed_style_destroy(css_computed_style *style);
css_error css_computed_style_compose(const css_computed_style *parent,
const css_computed_style *child,
- css_computed_style *result);
+ css_computed_style **result);
/******************************************************************************
* Property accessors below here *
diff --git a/include/libcss/select.h b/include/libcss/select.h
index 1948ca1..e8d8ff8 100644
--- a/include/libcss/select.h
+++ b/include/libcss/select.h
@@ -29,6 +29,6 @@ css_error css_select_ctx_get_sheet(css_select_ctx *ctx, uint32_t index,
css_error css_select_style(css_select_ctx *ctx, void *node,
uint64_t pseudo_element, uint64_t pseudo_classes,
- uint64_t media, css_computed_style *result);
+ uint64_t media, css_computed_style **result);
#endif