diff options
author | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2009-02-14 11:54:37 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2009-02-14 11:54:37 +0000 |
commit | 7c3e35e586771fcdd0ebfe59f67f7dbc68ef8226 (patch) | |
tree | 6f8f57b3bac39f6fdb08de2e792266b3c82a263f /src/select/hash.c | |
parent | 1233ce0a1a0e95966b8e1cf3bed01f7dcb63a360 (diff) | |
download | libcss-7c3e35e586771fcdd0ebfe59f67f7dbc68ef8226.tar.gz libcss-7c3e35e586771fcdd0ebfe59f67f7dbc68ef8226.tar.bz2 |
Drop css_error_handler and rename css_alloc to css_allocator_fn
svn path=/trunk/libcss/; revision=6482
Diffstat (limited to 'src/select/hash.c')
-rw-r--r-- | src/select/hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/select/hash.c b/src/select/hash.c index 7eee644..2a30a5f 100644 --- a/src/select/hash.c +++ b/src/select/hash.c @@ -22,7 +22,7 @@ struct css_selector_hash { hash_entry *slots; - css_alloc alloc; + css_allocator_fn alloc; void *pw; }; @@ -39,7 +39,7 @@ static inline uint32_t _hash_name(const parserutils_hash_entry *name); * \param hash Pointer to location to receive result * \return CSS_OK on success, appropriate error otherwise */ -css_error css_selector_hash_create(css_alloc alloc, void *pw, +css_error css_selector_hash_create(css_allocator_fn alloc, void *pw, css_selector_hash **hash) { css_selector_hash *h; |