diff options
author | Evan Nemerson <evan@nemerson.com> | 2014-05-30 19:21:11 -0700 |
---|---|---|
committer | Evan Nemerson <evan@nemerson.com> | 2014-10-16 13:09:34 -0700 |
commit | fa6ded9b0d065634481d8ae4126fdea0b88e3558 (patch) | |
tree | 151efb6762bf467ada2ac104770fdefd293b7248 /pango/glyphstring.c | |
parent | adb5a4e86b09b0935ec1dd71bf05ac41807c84a2 (diff) | |
download | pango-fa6ded9b0d065634481d8ae4126fdea0b88e3558.tar.gz |
Add many missing nullability annotations.
https://bugzilla.gnome.org/show_bug.cgi?id=731022
Diffstat (limited to 'pango/glyphstring.c')
-rw-r--r-- | pango/glyphstring.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/pango/glyphstring.c b/pango/glyphstring.c index 651907a2..007f8a34 100644 --- a/pango/glyphstring.c +++ b/pango/glyphstring.c @@ -97,12 +97,12 @@ G_DEFINE_BOXED_TYPE (PangoGlyphString, pango_glyph_string, /** * pango_glyph_string_copy: - * @string: a #PangoGlyphString, may be %NULL + * @string: (nullable): a #PangoGlyphString, may be %NULL * * Copy a glyph string and associated storage. * - * Return value: the newly allocated #PangoGlyphString, which - * should be freed with pango_glyph_string_free(), + * Return value: (nullable): the newly allocated #PangoGlyphString, + * which should be freed with pango_glyph_string_free(), * or %NULL if @string was %NULL. */ PangoGlyphString * @@ -127,7 +127,7 @@ pango_glyph_string_copy (PangoGlyphString *string) /** * pango_glyph_string_free: - * @string: a #PangoGlyphString, may be %NULL + * @string: (nullable): a #PangoGlyphString, may be %NULL * * Free a glyph string and associated storage. */ @@ -149,12 +149,12 @@ pango_glyph_string_free (PangoGlyphString *string) * @end: end index (the range is the set of bytes with indices such that start <= index < end) * @font: a #PangoFont - * @ink_rect: (out caller-allocates): rectangle used to store the - * extents of the glyph string range as drawn or %NULL to - * indicate that the result is not needed. - * @logical_rect: (out caller-allocates): rectangle used to store the - * logical extents of the glyph string range or %NULL to - * indicate that the result is not needed. + * @ink_rect: (out caller-allocates) (optional): rectangle used to + * store the extents of the glyph string range as drawn or + * %NULL to indicate that the result is not needed. + * @logical_rect: (out caller-allocates) (optional): rectangle used to + * store the logical extents of the glyph string range or + * %NULL to indicate that the result is not needed. * * Computes the extents of a sub-portion of a glyph string. The extents are * relative to the start of the glyph string range (the origin of their |