diff options
author | Bo Yang <struggleyb.nku@gmail.com> | 2009-03-31 06:37:52 +0000 |
---|---|---|
committer | Bo Yang <struggleyb.nku@gmail.com> | 2009-03-31 06:37:52 +0000 |
commit | ef9f431a9746e1aa61aa5ce74639b03e4c473e73 (patch) | |
tree | cd937725bcff9bfe9486f63f5bc9c02e9545a0e2 /include | |
parent | 7b0aca2e721b9022292a789acfc51fea71170f1f (diff) | |
download | libdom-ef9f431a9746e1aa61aa5ce74639b03e4c473e73.tar.gz libdom-ef9f431a9746e1aa61aa5ce74639b03e4c473e73.tar.bz2 |
Add typedefs for public DOM interfaces.
svn path=/trunk/dom/; revision=7002
Diffstat (limited to 'include')
-rw-r--r-- | include/dom/core/characterdata.h | 3 | ||||
-rw-r--r-- | include/dom/core/implementation.h | 3 | ||||
-rw-r--r-- | include/dom/core/impllist.h | 3 | ||||
-rw-r--r-- | include/dom/core/namednodemap.h | 3 | ||||
-rw-r--r-- | include/dom/core/nodelist.h | 3 | ||||
-rw-r--r-- | include/dom/core/string.h | 2 |
6 files changed, 11 insertions, 6 deletions
diff --git a/include/dom/core/characterdata.h b/include/dom/core/characterdata.h index e65cb96..44a1fc3 100644 --- a/include/dom/core/characterdata.h +++ b/include/dom/core/characterdata.h @@ -11,9 +11,10 @@ #include <dom/core/exceptions.h> #include <dom/core/node.h> -struct dom_characterdata; struct dom_string; +typedef struct dom_characterdata dom_characterdata; + /* The vtable for characterdata */ typedef struct dom_characterdata_vtable { struct dom_node_vtable base; diff --git a/include/dom/core/implementation.h b/include/dom/core/implementation.h index 5e26432..d8959e6 100644 --- a/include/dom/core/implementation.h +++ b/include/dom/core/implementation.h @@ -16,7 +16,8 @@ struct dom_document; struct dom_document_type; -struct dom_implementation; + +typedef struct dom_implementation dom_implementation; void dom_implementation_ref(struct dom_implementation *impl); void dom_implementation_unref(struct dom_implementation *impl); diff --git a/include/dom/core/impllist.h b/include/dom/core/impllist.h index af303ae..8773066 100644 --- a/include/dom/core/impllist.h +++ b/include/dom/core/impllist.h @@ -11,7 +11,8 @@ #include <dom/core/exceptions.h> struct dom_implementation; -struct dom_implementation_list; + +typedef struct dom_implementation_list dom_implementation_list; void dom_implementation_list_ref(struct dom_implementation_list *list); void dom_implementation_list_unref(struct dom_implementation_list *list); diff --git a/include/dom/core/namednodemap.h b/include/dom/core/namednodemap.h index 511b338..77c4cc3 100644 --- a/include/dom/core/namednodemap.h +++ b/include/dom/core/namednodemap.h @@ -11,9 +11,10 @@ #include <dom/core/exceptions.h> struct dom_node; -struct dom_namednodemap; struct dom_string; +typedef struct dom_namednodemap dom_namednodemap; + void dom_namednodemap_ref(struct dom_namednodemap *map); void dom_namednodemap_unref(struct dom_namednodemap *map); diff --git a/include/dom/core/nodelist.h b/include/dom/core/nodelist.h index e350c5b..d3b0df9 100644 --- a/include/dom/core/nodelist.h +++ b/include/dom/core/nodelist.h @@ -11,7 +11,8 @@ #include <dom/core/exceptions.h> struct dom_node; -struct dom_nodelist; + +typedef struct dom_nodelist dom_nodelist; void dom_nodelist_ref(struct dom_nodelist *list); void dom_nodelist_unref(struct dom_nodelist *list); diff --git a/include/dom/core/string.h b/include/dom/core/string.h index 8da9dd7..37d78d6 100644 --- a/include/dom/core/string.h +++ b/include/dom/core/string.h @@ -14,7 +14,7 @@ #include <dom/functypes.h> #include <dom/core/exceptions.h> -struct dom_string; +typedef struct dom_string dom_string; /* Claim a reference on a DOM string */ void dom_string_ref(struct dom_string *str); |