From 4aa51a22bf3e600ed7d8fde4a7ca60bc2ecca02b Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 26 Jul 2007 22:19:48 +0000 Subject: Implement type-specific node constructors and veneer the appropriate Document APIs onto them. svn path=/trunk/dom/; revision=3463 --- src/core/text.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/core/text.h (limited to 'src/core/text.h') diff --git a/src/core/text.h b/src/core/text.h new file mode 100644 index 0000000..97ab900 --- /dev/null +++ b/src/core/text.h @@ -0,0 +1,23 @@ +/* + * This file is part of libdom. + * Licensed under the MIT License, + * http://www.opensource.org/licenses/mit-license.php + * Copyright 2007 John-Mark Bell + */ + +#ifndef dom_internal_core_text_h_ +#define dom_internal_core_text_h_ + +#include + +#include "core/node.h" + +struct dom_document; +struct dom_string; +struct dom_text; + +dom_exception dom_text_create(struct dom_document *doc, dom_node_type type, + struct dom_string *name, struct dom_string *value, + struct dom_text **result); + +#endif -- cgit v1.2.3