summaryrefslogtreecommitdiff
path: root/src/parse/language.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-12-13 20:16:52 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2013-12-13 20:16:52 +0000
commit1b95fec601a3d006ba6b99e1dea3f61c3c8318fc (patch)
tree1a0c3a78afe1db919ff6b4c56a6c3f2e01d03607 /src/parse/language.h
parente3372335ec1628e1d6ef1a4fd63b11bb47f2e0e6 (diff)
downloadlibcss-1b95fec601a3d006ba6b99e1dea3f61c3c8318fc.tar.gz
libcss-1b95fec601a3d006ba6b99e1dea3f61c3c8318fc.tar.bz2
Various changes which modify API and ABI:
- Remove client allocation function. - Change node_classes callback not to yield array ownership to libcss. - Node bloom filters now built by, during selection libcss. - Added selection callbacks to get and set data on document nodes. Test suite, example, and documentation updated to match.
Diffstat (limited to 'src/parse/language.h')
-rw-r--r--src/parse/language.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/parse/language.h b/src/parse/language.h
index efbfaa1..f7c8536 100644
--- a/src/parse/language.h
+++ b/src/parse/language.h
@@ -48,13 +48,10 @@ typedef struct css_language {
lwc_string *default_namespace; /**< Default namespace URI */
css_namespace *namespaces; /**< Array of namespace mappings */
uint32_t num_namespaces; /**< Number of namespace mappings */
-
- css_allocator_fn alloc; /**< Memory (de)allocation function */
- void *pw; /**< Client's private data */
} css_language;
css_error css__language_create(css_stylesheet *sheet, css_parser *parser,
- css_allocator_fn alloc, void *pw, void **language);
+ void **language);
css_error css__language_destroy(css_language *language);
/******************************************************************************