summaryrefslogtreecommitdiff
path: root/pango/glyphstring.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-01-31 19:50:27 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-01-31 19:50:27 +0000
commiteceeb8c2a3100ec29a3a3a586b6f687c680beb1e (patch)
treeb5ad70c89743233d7fe705e710a1b0e7a97af760 /pango/glyphstring.c
parent949d745d0c17afc1a7dcb56aa57c4f97d202904e (diff)
downloadpango-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/glyphstring.c')
-rw-r--r--pango/glyphstring.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/pango/glyphstring.c b/pango/glyphstring.c
index 53a529a0..fc677c3a 100644
--- a/pango/glyphstring.c
+++ b/pango/glyphstring.c
@@ -30,7 +30,8 @@
*
* Create a new PangoGlyphString.
*
- * Returns the new PangoGlyphString
+ * Return value: the newly allocated #PangoGlyphString, which
+ * should be freed with pango_glyph_string_free().
*/
PangoGlyphString *
pango_glyph_string_new (void)
@@ -95,7 +96,8 @@ pango_glyph_string_get_type (void)
*
* Copy a glyph string and associated storage.
*
- * Returns the copied PangoGlyphString
+ * Return value: the newly allocated #PangoGlyphString, which
+ * should be freed with pango_glyph_string_free().
*/
PangoGlyphString *
pango_glyph_string_copy (PangoGlyphString *string)
@@ -116,7 +118,7 @@ pango_glyph_string_copy (PangoGlyphString *string)
* pango_glyph_string_free:
* @string: a PangoGlyphString.
*
- * Free a glyph string and associated storage.
+ * Free a glyph string and associated storage.
*/
void
pango_glyph_string_free (PangoGlyphString *string)