diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-12-06 23:15:39 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-12-06 23:15:39 +0000 |
commit | 6b110bebb8930b171145597cfa37ff1c1ac753f7 (patch) | |
tree | aeb5cac1db5f7717d69a48eaaebb2489f6395d6f /include | |
parent | b5088a4a633af9184e711ac1cc000bf958eeca3b (diff) | |
download | libdom-6b110bebb8930b171145597cfa37ff1c1ac753f7.tar.gz libdom-6b110bebb8930b171145597cfa37ff1c1ac753f7.tar.bz2 |
Simplify DOMImplementation API by replacing dom_strings with const char *
svn path=/trunk/libdom/; revision=11024
Diffstat (limited to 'include')
-rw-r--r-- | include/dom/core/implementation.h | 11 |
1 files changed, 5 insertions, 6 deletions
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 <dom/core/exceptions.h> #include <dom/events/document_event.h> #include <dom/functypes.h> -#include <dom/core/string.h> 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 |