From 2f716a2a02f5c3728b8721736400fedefda46bc2 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 15 Jul 2008 10:52:13 +0000 Subject: Make tree2 perform reference counting. Fix bits of the treebuilder to perform reference counting correctly in the face of *result not pointing to the same object as the node passed in to the treebuilder client callbacks. svn path=/trunk/hubbub/; revision=4666 --- src/treebuilder/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/treebuilder/internal.h') diff --git a/src/treebuilder/internal.h b/src/treebuilder/internal.h index 73b618a..ae293a9 100644 --- a/src/treebuilder/internal.h +++ b/src/treebuilder/internal.h @@ -184,7 +184,7 @@ void adjust_foreign_attributes(hubbub_treebuilder *treebuilder, hubbub_tag *tag); /* in_body.c */ -void aa_insert_into_foster_parent(hubbub_treebuilder *treebuilder, void *node); +void *aa_insert_into_foster_parent(hubbub_treebuilder *treebuilder, void *node); #ifndef NDEBUG #include -- cgit v1.2.3