diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-12-05 23:52:56 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-12-05 23:52:56 +0000 |
commit | ac42344d05ec326f0063133498ec1c040e924db2 (patch) | |
tree | 4041bc41d72721a94dc573e5be3cb0f80988e004 /src/core/document_type.c | |
parent | c9c2a632f38b736d6879caf00aa477ecf2e22dfb (diff) | |
download | libdom-ac42344d05ec326f0063133498ec1c040e924db2.tar.gz libdom-ac42344d05ec326f0063133498ec1c040e924db2.tar.bz2 |
Remove bootstrap infrastructure, and just make dom_implementation a stub.
We only support a single implementation, so all the registry and implementation list stuff is totally unnecesary and overcomplex
svn path=/trunk/dom/; revision=11017
Diffstat (limited to 'src/core/document_type.c')
-rw-r--r-- | src/core/document_type.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/core/document_type.c b/src/core/document_type.c index 1c9d0cb..7788b1d 100644 --- a/src/core/document_type.c +++ b/src/core/document_type.c @@ -10,7 +10,6 @@ #include <assert.h> #include <dom/core/document_type.h> -#include <dom/bootstrap/implpriv.h> #include "core/string.h" #include "core/document_type.h" @@ -25,8 +24,6 @@ struct dom_document_type { struct dom_node_internal base; /**< Base node */ - struct dom_implementation *impl; /**< Owning implementation */ - struct dom_string *public_id; /**< Doctype public ID */ struct dom_string *system_id; /**< Doctype system ID */ @@ -379,15 +376,3 @@ void _dom_document_type_get_resource_mgr( rm->pw = dt->res.pw; } -/** - * Get the implementation which created this dom_document_type - * - * \param dt The document type object - * \return the dom_implementation instance which creates this node. - */ -struct dom_implementation *_dom_document_type_get_impl( - struct dom_document_type *dt) -{ - return dt->impl; -} - |