summaryrefslogtreecommitdiff
path: root/src/treebuilder/internal.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-08-04 09:13:00 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-08-04 09:13:00 +0000
commitc7b80c552670814c23cefbc69b699579f8303c27 (patch)
tree63fe2e941d886efbc034c422f6aa464293bf1583 /src/treebuilder/internal.h
parentd60ec588f8e5e4cb97e31e6f8c40c7b9a1c2ba4c (diff)
downloadlibhubbub-c7b80c552670814c23cefbc69b699579f8303c27.tar.gz
libhubbub-c7b80c552670814c23cefbc69b699579f8303c27.tar.bz2
Make scripting enable flag configurable
svn path=/trunk/hubbub/; revision=4895
Diffstat (limited to 'src/treebuilder/internal.h')
-rw-r--r--src/treebuilder/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/treebuilder/internal.h b/src/treebuilder/internal.h
index 5c9eb49..059e177 100644
--- a/src/treebuilder/internal.h
+++ b/src/treebuilder/internal.h
@@ -82,6 +82,8 @@ typedef struct hubbub_treebuilder_context
void *document; /**< Pointer to the document node */
+ bool enable_scripting; /**< Whether scripting is enabled */
+
struct {
insertion_mode mode; /**< Insertion mode to return to */
void *node; /**< Node to attach Text child to */