diff --git a/libgimpconfig/gimpscanner.c b/libgimpconfig/gimpscanner.c index 6860d05cd1..a4204c4f75 100644 --- a/libgimpconfig/gimpscanner.c +++ b/libgimpconfig/gimpscanner.c @@ -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 * diff --git a/libgimpmath/gimpvector.c b/libgimpmath/gimpvector.c index 28cc6654c0..090e448546 100644 --- a/libgimpmath/gimpvector.c +++ b/libgimpmath/gimpvector.c @@ -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. *