From fa6ded9b0d065634481d8ae4126fdea0b88e3558 Mon Sep 17 00:00:00 2001 From: Evan Nemerson Date: Fri, 30 May 2014 19:21:11 -0700 Subject: Add many missing nullability annotations. https://bugzilla.gnome.org/show_bug.cgi?id=731022 --- pango/glyphstring.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'pango/glyphstring.c') 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 -- cgit v1.2.1