Mercurial > hg
changeset 368:da50f08ea058
Update hbuf_get_lines() comment
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 24 Jul 2005 21:47:41 +0100 |
parents | eb023d6b7890 |
children | 499170ed71c9 |
files | mcabber/src/hbuf.c |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/src/hbuf.c Sun Jul 24 15:31:00 2005 +0100 +++ b/mcabber/src/hbuf.c Sun Jul 24 21:47:41 2005 +0100 @@ -238,11 +238,10 @@ return NULL; } -// hbuf_get_lines(hbuf, n, where) FIXME bad comments XXX -// Returns an array of 2*n pointers (for n prefixes + n lines from hbuf) -// (prefix line 1, line 1, prefix line 2, line 2, etc.) +// hbuf_get_lines(hbuf, n) +// Returns an array of n *hbb_line pointers // (The first line will be the line currently pointed by hbuf) -// Note:The caller should free the array after use. +// Note: The caller should free the array and the text pointers after use. hbb_line **hbuf_get_lines(GList *hbuf, unsigned int n) { unsigned int i;