diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-07-15 10:52:13 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-07-15 10:52:13 +0000 |
commit | 2f716a2a02f5c3728b8721736400fedefda46bc2 (patch) | |
tree | 6d0432bf4fdb17625957fe9ba2cb68ace8527aef /src/treebuilder/internal.h | |
parent | df73d242d905943a2282d7097e0ec9de9448847b (diff) | |
download | libhubbub-2f716a2a02f5c3728b8721736400fedefda46bc2.tar.gz libhubbub-2f716a2a02f5c3728b8721736400fedefda46bc2.tar.bz2 |
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
Diffstat (limited to 'src/treebuilder/internal.h')
-rw-r--r-- | src/treebuilder/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 <stdio.h> |