diff options
author | James Shaw <jshaw@netsurf-browser.org> | 2007-07-16 21:12:55 +0000 |
---|---|---|
committer | James Shaw <jshaw@netsurf-browser.org> | 2007-07-16 21:12:55 +0000 |
commit | aae7860d4f93a1a4b1aaa50dc2e03a5ee71eb44d (patch) | |
tree | b45aab04f3f419f9fc270fbf098d71c0106bd5fa /src/core | |
parent | 258201cef238177df18dc096581201c89e4a5dd1 (diff) | |
download | libdom-aae7860d4f93a1a4b1aaa50dc2e03a5ee71eb44d.tar.gz libdom-aae7860d4f93a1a4b1aaa50dc2e03a5ee71eb44d.tar.bz2 |
Stub implementation of of dom_document_type methods
svn path=/trunk/dom/; revision=3422
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/Makefile | 2 | ||||
-rw-r--r-- | src/core/document_type.c | 19 |
2 files changed, 20 insertions, 1 deletions
diff --git a/src/core/Makefile b/src/core/Makefile index bc25ed7..ee9b377 100644 --- a/src/core/Makefile +++ b/src/core/Makefile @@ -22,7 +22,7 @@ CFLAGS += -I$(CURDIR) # Objects -OBJS = attr characterdata document element implementation impllist \ +OBJS = attr characterdata document document_type element implementation impllist \ namednodemap node nodelist string text .PHONY: clean debug distclean export release setup test diff --git a/src/core/document_type.c b/src/core/document_type.c new file mode 100644 index 0000000..211d600 --- /dev/null +++ b/src/core/document_type.c @@ -0,0 +1,19 @@ +/* + * This file is part of libdom. + * Licensed under the MIT License, + * http://www.opensource.org/licenses/mit-license.php + * Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org> + */ + +#include <dom/functypes.h> +#include <dom/core/document_type.h> +#include "utils/utils.h" + +dom_exception dom_document_type_get_name(struct dom_document_type *docType, + struct dom_string **result) +{ + UNUSED(docType); + UNUSED(result); + + return DOM_NOT_SUPPORTED_ERR; +} |