diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2007-09-22 23:36:52 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2007-09-22 23:36:52 +0000 |
commit | e85e3d04f4c9f9d246350a277f7c0fd9d00ac3c4 (patch) | |
tree | 6a5f39424660b39b103d7ab4daa3add4e148aaf5 | |
parent | 662f92282d156863d84a3360d0fd40c6856e858a (diff) | |
download | libdom-e85e3d04f4c9f9d246350a277f7c0fd9d00ac3c4.tar.gz libdom-e85e3d04f4c9f9d246350a277f7c0fd9d00ac3c4.tar.bz2 |
Make _dom_node_readonly() accessible to library internals
svn path=/trunk/dom/; revision=3576
-rw-r--r-- | src/core/node.c | 1 | ||||
-rw-r--r-- | src/core/node.h | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/core/node.c b/src/core/node.c index db65fab..8d1f16a 100644 --- a/src/core/node.c +++ b/src/core/node.c @@ -26,7 +26,6 @@ static bool _dom_node_permitted_child(const struct dom_node *parent, const struct dom_node *child); -static bool _dom_node_readonly(const struct dom_node *node); static inline void _dom_node_attach(struct dom_node *node, struct dom_node *parent, struct dom_node *previous, diff --git a/src/core/node.h b/src/core/node.h index beee0bd..bba00f5 100644 --- a/src/core/node.h +++ b/src/core/node.h @@ -8,6 +8,8 @@ #ifndef dom_internal_core_node_h_ #define dom_internal_core_node_h_ +#include <stdbool.h> + #include <dom/core/node.h> struct dom_attr; @@ -60,4 +62,6 @@ dom_exception dom_node_initialise(struct dom_node *node, void dom_node_finalise(struct dom_document *doc, struct dom_node *node); +bool _dom_node_readonly(const struct dom_node *node); + #endif |