From 45ad07b2c2537859eea679517bf1cf7e73c74f79 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Tue, 15 Feb 2022 10:07:13 +0000 Subject: [PATCH] fix a couple more warnings --- libvips/conversion/conversion.c | 2 +- libvips/conversion/switch.c | 2 +- libvips/iofuncs/type.c | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libvips/conversion/conversion.c b/libvips/conversion/conversion.c index 66a2f87f..0e6bac2f 100644 --- a/libvips/conversion/conversion.c +++ b/libvips/conversion/conversion.c @@ -70,7 +70,7 @@ */ /** - * vips_composite: (method) + * vips_composite: * @in: (array length=n) (transfer none): array of input images * @out: (out): output image * @n: number of input images diff --git a/libvips/conversion/switch.c b/libvips/conversion/switch.c index 0669039a..f863fd86 100644 --- a/libvips/conversion/switch.c +++ b/libvips/conversion/switch.c @@ -225,7 +225,7 @@ vips_switchv( VipsImage **tests, VipsImage **out, int n, va_list ap ) } /** - * vips_switch: (method) + * vips_switch: * @tests: (array length=n): test these images * @out: (out): output index image * @n: number of input images diff --git a/libvips/iofuncs/type.c b/libvips/iofuncs/type.c index 2974c4c5..d8f76f38 100644 --- a/libvips/iofuncs/type.c +++ b/libvips/iofuncs/type.c @@ -387,10 +387,10 @@ vips_area_new_array_object( int n ) /** * vips_area_get_data: (method) * @area: #VipsArea to fetch from - * @length: (out optional): optionally return length in bytes here - * @n: (out optional): optionally return number of elements here - * @type: (out optional): optionally return element type here - * @sizeof_type: (out optional): optionally return sizeof() element type here + * @length: (out) (optional): optionally return length in bytes here + * @n: (out) (optional): optionally return number of elements here + * @type: (out) (optional): optionally return element type here + * @sizeof_type: (out) (optional): optionally return sizeof() element type here * * Return the data pointer plus optionally the length in bytes of an area, * the number of elements, the %GType of each element and the sizeof() each