diff options
author | Evan Nemerson <evan@coeus-group.com> | 2012-08-07 19:35:28 -0700 |
---|---|---|
committer | Evan Nemerson <evan@coeus-group.com> | 2012-08-12 19:04:25 -0700 |
commit | feff5a6e2682048a07a6ba09af83254e290bf394 (patch) | |
tree | 78a7df91f6634a476c1b765be0ecc81cb014ed9d /pango/pango-coverage.c | |
parent | eddbc909f835901fe08794be0ec45840d3494af5 (diff) | |
download | pango-feff5a6e2682048a07a6ba09af83254e290bf394.tar.gz |
introspection: assorted fixes to avoid regressions in Vala bindings
https://bugzilla.gnome.org/show_bug.cgi?id=681423
Diffstat (limited to 'pango/pango-coverage.c')
-rw-r--r-- | pango/pango-coverage.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/pango/pango-coverage.c b/pango/pango-coverage.c index 7637117d..d84a5cd3 100644 --- a/pango/pango-coverage.c +++ b/pango/pango-coverage.c @@ -75,9 +75,9 @@ pango_coverage_new (void) * Copy an existing #PangoCoverage. (This function may now be unnecessary * since we refcount the structure. File a bug if you use it.) * - * Return value: the newly allocated #PangoCoverage, - * with a reference count of one, which - * should be freed with pango_coverage_unref(). + * Return value: (transfer full): the newly allocated #PangoCoverage, + * with a reference count of one, which should be freed + * with pango_coverage_unref(). **/ PangoCoverage * pango_coverage_copy (PangoCoverage *coverage) @@ -352,8 +352,9 @@ pango_coverage_max (PangoCoverage *coverage, /** * pango_coverage_to_bytes: * @coverage: a #PangoCoverage - * @bytes: location to store result (must be freed with g_free()) - * @n_bytes: location to store size of result + * @bytes: (out) (array length=n_bytes) (element-type guint8): + * location to store result (must be freed with g_free()) + * @n_bytes: (out): location to store size of result * * Convert a #PangoCoverage structure into a flat binary format **/ @@ -439,14 +440,15 @@ pango_coverage_get_uint32 (guchar **ptr) /** * pango_coverage_from_bytes: - * @bytes: binary data representing a #PangoCoverage + * @bytes: (array length=n_bytes) (element-type guint8): binary data + * representing a #PangoCoverage * @n_bytes: the size of @bytes in bytes * * Convert data generated from pango_converage_to_bytes() back * to a #PangoCoverage * - * Return value: a newly allocated #PangoCoverage, or %NULL if - * the data was invalid. + * Return value: (transfer full): a newly allocated #PangoCoverage, or + * %NULL if the data was invalid. **/ PangoCoverage * pango_coverage_from_bytes (guchar *bytes, |