From 7cbcc882de7d5747e2342f0829bbcc9f2bcca60f Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 28 Jul 2007 14:34:59 +0000 Subject: Sort out somewhat messy object construction. We now have explicit types for all classes (rather than using the parent class for those which inherit but add no extra data content). svn path=/trunk/dom/; revision=3465 --- src/core/comment.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/core/comment.h (limited to 'src/core/comment.h') diff --git a/src/core/comment.h b/src/core/comment.h new file mode 100644 index 0000000..1cc7d28 --- /dev/null +++ b/src/core/comment.h @@ -0,0 +1,21 @@ +/* + * 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_comment_h_ +#define dom_internal_core_comment_h_ + +#include + +struct dom_comment; +struct dom_document; +struct dom_string; + +dom_exception dom_comment_create(struct dom_document *doc, + struct dom_string *name, struct dom_string *value, + struct dom_comment **result); + +#endif -- cgit v1.2.3