From 6b110bebb8930b171145597cfa37ff1c1ac753f7 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 6 Dec 2010 23:15:39 +0000 Subject: Simplify DOMImplementation API by replacing dom_strings with const char * svn path=/trunk/libdom/; revision=11024 --- include/dom/core/implementation.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/dom/core/implementation.h b/include/dom/core/implementation.h index 6fb381c..6b3f143 100644 --- a/include/dom/core/implementation.h +++ b/include/dom/core/implementation.h @@ -13,7 +13,6 @@ #include #include #include -#include struct dom_document; struct dom_document_type; @@ -21,24 +20,24 @@ struct dom_document_type; typedef const char *dom_implementation; dom_exception dom_implementation_has_feature( - struct dom_string *feature, struct dom_string *version, + const char *feature, const char *version, bool *result); dom_exception dom_implementation_create_document_type( - struct dom_string *qname, - struct dom_string *public_id, struct dom_string *system_id, + const char *qname, + const char *public_id, const char *system_id, dom_alloc alloc, void *pw, struct dom_document_type **doctype); dom_exception dom_implementation_create_document( - struct dom_string *namespace, struct dom_string *qname, + const char *namespace, const char *qname, struct dom_document_type *doctype, dom_alloc alloc, void *pw, dom_events_default_action_fetcher daf, struct dom_document **doc); dom_exception dom_implementation_get_feature( - struct dom_string *feature, struct dom_string *version, + const char *feature, const char *version, void **object); #endif -- cgit v1.2.3