diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-08-26 23:00:23 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-08-26 23:00:23 +0000 |
commit | 229af12d7ab2c071a6888eb8ffc49bb0bbeb9ddd (patch) | |
tree | 78100a859a1bf8fbb9d2166dd0843c49c98c53c3 /include | |
parent | 5c109b370a014e49387320fa23bb589e4d4e36f1 (diff) | |
download | libdom-229af12d7ab2c071a6888eb8ffc49bb0bbeb9ddd.tar.gz libdom-229af12d7ab2c071a6888eb8ffc49bb0bbeb9ddd.tar.bz2 |
Sync with modified libwapcaplet API: 11 additional DOM Level1 testsuite failures. Most importantly, it actually compiles now.
svn path=/trunk/dom/; revision=10717
Diffstat (limited to 'include')
-rw-r--r-- | include/dom/bootstrap/implpriv.h | 9 | ||||
-rw-r--r-- | include/dom/core/implementation.h | 4 | ||||
-rw-r--r-- | include/dom/core/string.h | 2 | ||||
-rw-r--r-- | include/dom/events/document_event.h | 1 |
4 files changed, 7 insertions, 9 deletions
diff --git a/include/dom/bootstrap/implpriv.h b/include/dom/bootstrap/implpriv.h index 17ffcde..93ce34d 100644 --- a/include/dom/bootstrap/implpriv.h +++ b/include/dom/bootstrap/implpriv.h @@ -34,7 +34,6 @@ struct dom_document; struct dom_document_type; -struct lwc_context_s; /** * DOM Implementation @@ -83,7 +82,7 @@ struct dom_implementation { struct dom_string *qname, struct dom_string *public_id, struct dom_string *system_id, - dom_alloc alloc, void *pw, struct lwc_context_s *ctx, + dom_alloc alloc, void *pw, struct dom_document_type **doctype); /** @@ -126,7 +125,7 @@ struct dom_implementation { struct dom_string *namespace, struct dom_string *qname, struct dom_document_type *doctype, - dom_alloc alloc, void *pw, struct lwc_context_s *ctx, + dom_alloc alloc, void *pw, dom_events_default_action_fetcher daf, struct dom_document **doc); @@ -246,7 +245,7 @@ dom_exception dom_register_source(struct dom_implementation_source *source); /* Create a DOM document */ dom_exception dom_document_create(struct dom_implementation *impl, - dom_alloc alloc, void *pw, struct lwc_context_s *ctx, + dom_alloc alloc, void *pw, dom_events_default_action_fetcher daf, struct dom_document **doc); @@ -258,7 +257,7 @@ void dom_document_set_buffer(struct dom_document *doc, uint8_t *buffer, dom_exception dom_document_type_create(struct dom_string *qname, struct dom_string *public_id, struct dom_string *system_id, - dom_alloc alloc, void *pw, struct lwc_context_s *ctx, + dom_alloc alloc, void *pw, struct dom_document_type **doctype); #endif diff --git a/include/dom/core/implementation.h b/include/dom/core/implementation.h index 92cce99..7865b10 100644 --- a/include/dom/core/implementation.h +++ b/include/dom/core/implementation.h @@ -31,14 +31,14 @@ dom_exception dom_implementation_has_feature( dom_exception dom_implementation_create_document_type( struct dom_implementation *impl, struct dom_string *qname, struct dom_string *public_id, struct dom_string *system_id, - dom_alloc alloc, void *pw, struct lwc_context_s *ctx, + dom_alloc alloc, void *pw, struct dom_document_type **doctype); dom_exception dom_implementation_create_document( struct dom_implementation *impl, struct dom_string *namespace, struct dom_string *qname, struct dom_document_type *doctype, - dom_alloc alloc, void *pw, struct lwc_context_s *ctx, + dom_alloc alloc, void *pw, dom_events_default_action_fetcher daf, struct dom_document **doc); diff --git a/include/dom/core/string.h b/include/dom/core/string.h index 2502623..7da2114 100644 --- a/include/dom/core/string.h +++ b/include/dom/core/string.h @@ -33,7 +33,7 @@ dom_exception dom_string_clone(dom_alloc alloc, void *pw, /* Get the internal lwc_string */ dom_exception dom_string_get_intern(struct dom_string *str, - struct lwc_context_s **ctx, struct lwc_string_s **lwcstr); + struct lwc_string_s **lwcstr); /* Case sensitively compare two DOM strings */ int dom_string_cmp(struct dom_string *s1, struct dom_string *s2); diff --git a/include/dom/events/document_event.h b/include/dom/events/document_event.h index e349bc2..3c1ea1b 100644 --- a/include/dom/events/document_event.h +++ b/include/dom/events/document_event.h @@ -13,7 +13,6 @@ struct dom_string; struct dom_event; struct dom_document; -struct lwc_context_s; struct lwc_string_s; typedef struct dom_document dom_document_event; |