Fix some gobject-introspection annotations

This commit is contained in:
Niels De Graef 2021-12-02 12:46:05 +01:00
parent dcd1dd29a8
commit 5ca9a38ea4
2 changed files with 6 additions and 6 deletions

View File

@ -465,7 +465,7 @@ gimp_scanner_parse_string_no_validate (GimpScanner *scanner,
* @scanner: A #GimpScanner created by gimp_scanner_new_file() or
* gimp_scanner_new_string()
* @length: Length of the data to parse
* @dest: (out) (array): Return location for the parsed data
* @dest: (out) (array length=length): Return location for the parsed data
*
* Returns: %TRUE on success
*
@ -787,7 +787,7 @@ gimp_scanner_parse_color (GimpScanner *scanner,
* gimp_scanner_parse_matrix2:
* @scanner: A #GimpScanner created by gimp_scanner_new_file() or
* gimp_scanner_new_string()
* @dest: Pointer to a matrix to store the result
* @dest: (out caller-allocates): Pointer to a matrix to store the result
*
* Returns: %TRUE on success
*

View File

@ -268,7 +268,7 @@ gimp_vector2_neg_val (GimpVector2 vector)
/**
* gimp_vector2_add:
* @result: destination for the resulting #GimpVector2.
* @result: (out caller-allocates): destination for the resulting #GimpVector2.
* @vector1: a pointer to the first #GimpVector2.
* @vector2: a pointer to the second #GimpVector2.
*
@ -308,7 +308,7 @@ gimp_vector2_add_val (GimpVector2 vector1,
/**
* gimp_vector2_sub:
* @result: the destination for the resulting #GimpVector2.
* @result: (out caller-allocates): the destination for the resulting #GimpVector2.
* @vector1: a pointer to the first #GimpVector2.
* @vector2: a pointer to the second #GimpVector2.
*
@ -734,7 +734,7 @@ gimp_vector3_neg_val (GimpVector3 vector)
/**
* gimp_vector3_add:
* @result: destination for the resulting #GimpVector3.
* @result: (out caller-allocates): destination for the resulting #GimpVector3.
* @vector1: a pointer to the first #GimpVector3.
* @vector2: a pointer to the second #GimpVector3.
*
@ -776,7 +776,7 @@ gimp_vector3_add_val (GimpVector3 vector1,
/**
* gimp_vector3_sub:
* @result: the destination for the resulting #GimpVector3.
* @result: (out caller-allocates): the destination for the resulting #GimpVector3.
* @vector1: a pointer to the first #GimpVector3.
* @vector2: a pointer to the second #GimpVector3.
*