diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-01-31 19:50:27 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-01-31 19:50:27 +0000 |
commit | eceeb8c2a3100ec29a3a3a586b6f687c680beb1e (patch) | |
tree | b5ad70c89743233d7fe705e710a1b0e7a97af760 /pango/pango-item.c | |
parent | 949d745d0c17afc1a7dcb56aa57c4f97d202904e (diff) | |
download | pango-eceeb8c2a3100ec29a3a3a586b6f687c680beb1e.tar.gz |
Improve documentation for functions allocating memory, on how the object
2006-01-31 Behdad Esfahbod <behdad@gnome.org>
* pango/fonts.c, pango/glyphstring.c pango/pango-attributes.c
pango/pango-color.c, pango/pango-context.c
pango/pango-coverage.c, pango/pango-fontset.c
pango/pango-glyph-item.c, pango/pango-item.c
pango/pango-layout.c, pango/pango-ot-buffer.c
pango/pango-ot-info.c, pango/pango-ot-ruleset.c
pango/pango-script.c, pango/pango-tabs.c pango/pango-utils.c
pango/pangocairo-fcfontmap.c, pango/pangocairo-fontmap.c
pango/pangox-fontcache.c, pango/pangoxft-render.c:
Improve documentation for functions allocating memory,
on how the object should be freed.
Diffstat (limited to 'pango/pango-item.c')
-rw-r--r-- | pango/pango-item.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pango/pango-item.c b/pango/pango-item.c index 7cf3bebe..844cd098 100644 --- a/pango/pango-item.c +++ b/pango/pango-item.c @@ -29,7 +29,8 @@ * * Creates a new #PangoItem structure initialized to default values. * - * Return value: the new #PangoItem + * Return value: the newly allocated #PangoItem, which should + * be freed with pango_item_free(). **/ PangoItem * pango_item_new (void) @@ -45,7 +46,8 @@ pango_item_new (void) * * Copy an existing #PangoItem structure. * - * Return value: the new #PangoItem + * Return value: the newly allocated #PangoItem, which should + * be freed with pango_item_free(). **/ PangoItem * pango_item_copy (PangoItem *item) @@ -124,7 +126,8 @@ pango_item_get_type (void) * item isn't available, so pango_item_split() can't count the char * length of the split items itself. * - * Return value: new item representing text before @split_index + * Return value: new item representing text before @split_index, which + * should be freed with pango_item_free(). **/ PangoItem* pango_item_split (PangoItem *orig, |