summaryrefslogtreecommitdiff
path: root/include/dom/core/document_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dom/core/document_type.h')
-rw-r--r--include/dom/core/document_type.h25
1 files changed, 12 insertions, 13 deletions
diff --git a/include/dom/core/document_type.h b/include/dom/core/document_type.h
index fdba202..989ff69 100644
--- a/include/dom/core/document_type.h
+++ b/include/dom/core/document_type.h
@@ -13,7 +13,6 @@
#include <dom/core/node.h>
struct dom_namednodemap;
-struct dom_string;
typedef struct dom_document_type dom_document_type;
/* The Dom DocumentType vtable */
@@ -22,7 +21,7 @@ typedef struct dom_document_type_vtable {
dom_exception (*dom_document_type_get_name)(
struct dom_document_type *doc_type,
- struct dom_string **result);
+ dom_string **result);
dom_exception (*dom_document_type_get_entities)(
struct dom_document_type *doc_type,
struct dom_namednodemap **result);
@@ -31,23 +30,23 @@ typedef struct dom_document_type_vtable {
struct dom_namednodemap **result);
dom_exception (*dom_document_type_get_public_id)(
struct dom_document_type *doc_type,
- struct dom_string **result);
+ dom_string **result);
dom_exception (*dom_document_type_get_system_id)(
struct dom_document_type *doc_type,
- struct dom_string **result);
+ dom_string **result);
dom_exception (*dom_document_type_get_internal_subset)(
struct dom_document_type *doc_type,
- struct dom_string **result);
+ dom_string **result);
} dom_document_type_vtable;
static inline dom_exception dom_document_type_get_name(
- struct dom_document_type *doc_type, struct dom_string **result)
+ struct dom_document_type *doc_type, dom_string **result)
{
return ((dom_document_type_vtable *) ((dom_node *) (doc_type))->vtable)
->dom_document_type_get_name(doc_type, result);
}
#define dom_document_type_get_name(dt, r) dom_document_type_get_name( \
- (dom_document_type *) (dt), (struct dom_string **) (r))
+ (dom_document_type *) (dt), (dom_string **) (r))
static inline dom_exception dom_document_type_get_entities(
struct dom_document_type *doc_type,
@@ -71,29 +70,29 @@ static inline dom_exception dom_document_type_get_notations(
static inline dom_exception dom_document_type_get_public_id(
struct dom_document_type *doc_type,
- struct dom_string **result)
+ dom_string **result)
{
return ((dom_document_type_vtable *) ((dom_node *) (doc_type))->vtable)
->dom_document_type_get_public_id(doc_type, result);
}
#define dom_document_type_get_public_id(dt, r) \
dom_document_type_get_public_id((dom_document_type *) (dt), \
- (struct dom_string **) (r))
+ (dom_string **) (r))
static inline dom_exception dom_document_type_get_system_id(
struct dom_document_type *doc_type,
- struct dom_string **result)
+ dom_string **result)
{
return ((dom_document_type_vtable *) ((dom_node *) (doc_type))->vtable)
->dom_document_type_get_system_id(doc_type, result);
}
#define dom_document_type_get_system_id(dt, r) \
dom_document_type_get_system_id((dom_document_type *) (dt), \
- (struct dom_string **) (r))
+ (dom_string **) (r))
static inline dom_exception dom_document_type_get_internal_subset(
struct dom_document_type *doc_type,
- struct dom_string **result)
+ dom_string **result)
{
return ((dom_document_type_vtable *) ((dom_node *) (doc_type))->vtable)
->dom_document_type_get_internal_subset(doc_type,
@@ -101,7 +100,7 @@ static inline dom_exception dom_document_type_get_internal_subset(
}
#define dom_document_type_get_internal_subset(dt, r) \
dom_document_type_get_internal_subset( \
- (dom_document_type *) (dt), (struct dom_string **) (r))
+ (dom_document_type *) (dt), (dom_string **) (r))
#endif