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/parse/parse.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/parse/parse.c')
-rw-r--r-- | src/parse/parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parse/parse.c b/src/parse/parse.c index 7ac64da..c1b8143 100644 --- a/src/parse/parse.c +++ b/src/parse/parse.c @@ -107,7 +107,7 @@ struct css_parser css_parser_event_handler event; /**< Client's event handler */ void *event_pw; /**< Client data for event handler */ - css_alloc alloc; /**< Memory (de)allocation function */ + css_allocator_fn alloc; /**< Memory (de)allocation function */ void *pw; /**< Client-specific private data */ }; @@ -187,7 +187,7 @@ static css_error (*parseFuncs[])(css_parser *parser) = { * CSS_NOMEM on memory exhaustion */ css_error css_parser_create(const char *charset, css_charset_source cs_source, - parserutils_hash *dictionary, css_alloc alloc, void *pw, + parserutils_hash *dictionary, css_allocator_fn alloc, void *pw, css_parser **parser) { css_parser *p; |