summaryrefslogtreecommitdiff
path: root/pango/pango-coverage.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/pango-coverage.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/pango-coverage.c')
-rw-r--r--pango/pango-coverage.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/pango/pango-coverage.c b/pango/pango-coverage.c
index 6e34f802..c8f79d89 100644
--- a/pango/pango-coverage.c
+++ b/pango/pango-coverage.c
@@ -52,8 +52,10 @@ struct _PangoCoverage
*
* Create a new #PangoCoverage
*
- * Return value: a new PangoCoverage object, initialized to %PANGO_COVERAGE_NONE
- * with a reference count of 0.
+ * Return value: the newly allocated #PangoCoverage,
+ * initialized to %PANGO_COVERAGE_NONE
+ * with a reference count of one, which
+ * should be freed with pango_coverage_unref().
**/
PangoCoverage *
pango_coverage_new (void)
@@ -75,7 +77,9 @@ pango_coverage_new (void)
* since we refcount the structure. Mail otaylor@redhat.com if you
* use it.)
*
- * Return value: a copy of @coverage with a reference count of 1
+ * Return value: the newly allocated #PangoCoverage,
+ * with a reference count of one, which
+ * should be freed with pango_coverage_unref().
**/
PangoCoverage *
pango_coverage_copy (PangoCoverage *coverage)