diff options
author | John Tytgat <joty@netsurf-browser.org> | 2004-08-14 12:57:02 +0000 |
---|---|---|
committer | John Tytgat <joty@netsurf-browser.org> | 2004-08-14 12:57:02 +0000 |
commit | 7d3a242132eedadbcb96bead6dbed64729d11aaf (patch) | |
tree | 80df3d742a1707264ffd3c0a9fe69c067b867157 /render/box.h | |
parent | 44c418dc7308b9eabec103f86c612e83cb71347e (diff) | |
download | netsurf-7d3a242132eedadbcb96bead6dbed64729d11aaf.tar.gz netsurf-7d3a242132eedadbcb96bead6dbed64729d11aaf.tar.bz2 |
[project @ 2004-08-14 12:57:00 by joty]
Using more stddef.h types.
svn path=/import/netsurf/; revision=1230
Diffstat (limited to 'render/box.h')
-rw-r--r-- | render/box.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/render/box.h b/render/box.h index bb493a323..5b6427bc6 100644 --- a/render/box.h +++ b/render/box.h @@ -159,8 +159,8 @@ struct box { int min_width; int max_width; /**< Width that would be taken with no line breaks. */ - char *text; /**< Text, or 0 if none. Unterminated. */ - unsigned int length; /**< Length of text. */ + char *text; /**< Text, or 0 if none. Unterminated. */ + size_t length; /**< Length of text. */ /** Text is followed by a space. */ unsigned int space : 1; @@ -234,7 +234,8 @@ struct column { 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 *id, pool box_pool); + const char *href, const char *title, + const char *id, 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); |