diff options
author | James Bursa <james@netsurf-browser.org> | 2004-01-02 12:04:04 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2004-01-02 12:04:04 +0000 |
commit | 825c81f03a226a85b48e77a761be2a7245b9f030 (patch) | |
tree | 6e32e858b6930fa2bdf43d0e7bf3678d41c5ae1a /render/box.h | |
parent | 9f2c43718b68c0b59623317627c22934f7132e40 (diff) | |
download | netsurf-825c81f03a226a85b48e77a761be2a7245b9f030.tar.gz netsurf-825c81f03a226a85b48e77a761be2a7245b9f030.tar.bz2 |
[project @ 2004-01-02 12:04:04 by bursa]
Use memory pool for box tree.
svn path=/import/netsurf/; revision=477
Diffstat (limited to 'render/box.h')
-rw-r--r-- | render/box.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/render/box.h b/render/box.h index 2c76f3ffd..e8264247c 100644 --- a/render/box.h +++ b/render/box.h @@ -14,6 +14,7 @@ #include "libxml/HTMLparser.h" #include "netsurf/css/css.h" #include "netsurf/render/font.h" +#include "netsurf/utils/pool.h" /** * structures @@ -119,7 +120,7 @@ struct page_elements void xml_to_box(xmlNode *n, struct content *c); void box_dump(struct box * box, unsigned int depth); struct box * box_create(struct css_style * style, - char *href, char *title); + char *href, char *title, pool box_pool); void box_add_child(struct box * parent, struct box * child); void box_insert_sibling(struct box *box, struct box *new_box); void box_free(struct box *box); |