From ca2566cbd69530e91f80b763beef011481d6cf94 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 5 Feb 2012 14:33:17 +0000 Subject: A bunch of panel beating: * HTMLElement and HTMLDocument now have vtables * All HTML nodes require an HTMLDocument to create * Miscellaneous other cleanups svn path=/trunk/libdom/; revision=13424 --- src/html/html_collection.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/html/html_collection.h') diff --git a/src/html/html_collection.h b/src/html/html_collection.h index dc9e67d..634d2d3 100644 --- a/src/html/html_collection.h +++ b/src/html/html_collection.h @@ -23,7 +23,7 @@ struct dom_html_collection { * whether some node is an element of * this collection */ - struct dom_document *doc; /**< The document created this + struct dom_html_document *doc; /**< The document created this * collection */ struct dom_node_internal *root; @@ -32,12 +32,12 @@ struct dom_html_collection { /**< Reference counting */ }; -dom_exception _dom_html_collection_create(struct dom_document *doc, +dom_exception _dom_html_collection_create(struct dom_html_document *doc, struct dom_node_internal *root, dom_callback_is_in_collection ic, struct dom_html_collection **col); -dom_exception _dom_html_collection_initialise(struct dom_document *doc, +dom_exception _dom_html_collection_initialise(struct dom_html_document *doc, struct dom_html_collection *col, struct dom_node_internal *root, dom_callback_is_in_collection ic); -- cgit v1.2.3