path: root/src/utils/utils.h
diff options
authorJohn Mark Bell <>2007-09-29 01:01:55 +0000
committerJohn Mark Bell <>2007-09-29 01:01:55 +0000
commit6b1aeb6465f339bfbc7be33b1ecab3f235adbe7f (patch)
tree720ad0f18306af6b11b9b1c0dbd622bf57792af6 /src/utils/utils.h
parent83bc8f09261fb4d265cc79d39e740b4a0c9648e2 (diff)
Introduce global initialistaion/finalisation for DOM library. This should be used to initialise any parts of the library before they are used. Mostly, this will comprise of static initialisers. Finalisation cleans up afterwards. This API is only exposed to language-specific binding libraries -- they should expose their own global initialisation/finalisation routines which call the core libdom ones.
Introduce new utility code for namespace and qname processing. Port dom_document_create_element_ns() and dom_document_create_attribute_ns() to this new code. Make libdom-libxml's initialiser initialise libdom itself first of all. svn path=/trunk/dom/; revision=3604
Diffstat (limited to 'src/utils/utils.h')
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/utils.h b/src/utils/utils.h
index ae861c7..9ec8176 100644
--- a/src/utils/utils.h
+++ b/src/utils/utils.h
@@ -5,8 +5,8 @@
* Copyright 2007 John-Mark Bell <>
-#ifndef dom_utils_h_
-#define dom_utils_h_
+#ifndef dom_utils_utils_h_
+#define dom_utils_utils_h_
#ifndef max
#define max(a,b) ((a)>(b)?(a):(b))