path: root/include/dom/bootstrap/implpriv.h
diff options
authorJohn Mark Bell <>2007-09-29 01:41:23 +0000
committerJohn Mark Bell <>2007-09-29 01:41:23 +0000
commit878df9ef2b47cd09ffe6c8c9c2324435535ef52b (patch)
treeff2739087c040f4872adef4a3d0b3731f04ebea3 /include/dom/bootstrap/implpriv.h
parent7eb2967d9be33c58e7927b7973c9dc50c9f71a62 (diff)
dom_initialise() and dom_finalise() are now completely public, rather than hidden away in a header only meant for inclusion by bindings. Client applications are responsible for initialisation and finalisation of the dom library. This must happen before/after (respectively) any call to a dom library or dom binding library function.
The reason for this change is that, if multiple bindings are required, then the dom library should still only be initialised/finalised once. Only the client can enforce this sensibly. svn path=/trunk/dom/; revision=3606
Diffstat (limited to 'include/dom/bootstrap/implpriv.h')
1 files changed, 0 insertions, 10 deletions
diff --git a/include/dom/bootstrap/implpriv.h b/include/dom/bootstrap/implpriv.h
index c83eb3a..36359c5 100644
--- a/include/dom/bootstrap/implpriv.h
+++ b/include/dom/bootstrap/implpriv.h
@@ -18,10 +18,6 @@
* The DocumentType implementation includes this as it needs the declaration
* of dom_document_type_create.
- * The DOM library's core initialisation/finalisation implementation also
- * includes this as it needs the declaration of dom_initialise and
- * dom_finalise.
- *
* No other client should be including this.
@@ -247,12 +243,6 @@ struct dom_implementation_source {
dom_alloc alloc, void *pw);
-/* Initialise the DOM library */
-dom_exception dom_initialise(dom_alloc alloc, void *pw);
-/* Finalise the DOM library */
-dom_exception dom_finalise(void);
/* Register a source with the DOM library */
dom_exception dom_register_source(struct dom_implementation_source *source,
dom_alloc alloc, void *pw);