From 229af12d7ab2c071a6888eb8ffc49bb0bbeb9ddd Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 26 Aug 2010 23:00:23 +0000 Subject: Sync with modified libwapcaplet API: 11 additional DOM Level1 testsuite failures. Most importantly, it actually compiles now. svn path=/trunk/dom/; revision=10717 --- include/dom/bootstrap/implpriv.h | 9 ++++----- include/dom/core/implementation.h | 4 ++-- include/dom/core/string.h | 2 +- include/dom/events/document_event.h | 1 - 4 files changed, 7 insertions(+), 9 deletions(-) (limited to 'include/dom') 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; -- cgit v1.2.3