diff --git a/ChangeLog b/ChangeLog index 7624157e..560fe5f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,7 @@ - add "password" option to pdfload - improve the pixel rng - add meson build system [tintou] +- improve introspection annotations [tintou] 26/11/21 started 8.12.3 - better arg checking for hist_find_ndim [travisbell] diff --git a/libvips/iofuncs/header.c b/libvips/iofuncs/header.c index f1bd137d..92dad899 100644 --- a/libvips/iofuncs/header.c +++ b/libvips/iofuncs/header.c @@ -1878,21 +1878,21 @@ vips_image_get_as_string( const VipsImage *image, /** * vips_image_print_field: * @image: image to get the header field from - * @field: field name + * @name: field name * * Prints field @name to stdout as ASCII. Handy for debugging. */ void -vips_image_print_field( const VipsImage *image, const char *field ) +vips_image_print_field( const VipsImage *image, const char *name ) { char *str; - if( vips_image_get_as_string( image, field, &str ) ) { + if( vips_image_get_as_string( image, name, &str ) ) { printf( "vips_image_print_field: unable to read field\n" ); return; } - printf( ".%s: %s\n", field, str ); + printf( ".%s: %s\n", name, str ); g_free( str ); } diff --git a/meson_options.txt b/meson_options.txt index 6174e0be..b5a98d8e 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -2,7 +2,7 @@ option('deprecated', type : 'boolean', value : true, description: 'Build depreca option('doxygen', type : 'boolean', value : false, description: 'Build C++ documentation') option('gtk_doc', type : 'boolean', value : false, description: 'Build GTK-doc documentation') option('modules', type : 'feature', value : 'auto', description: 'Build dynamic modules') -option('introspection', type : 'boolean', value : false, description: 'Build GObject Introspection') +option('introspection', type : 'boolean', value : true, description: 'Build GObject Introspection') option('vapi', type : 'boolean', value : false, description: 'Build VAPI') # External libraries option('cfitsio', type : 'feature', value : 'auto', description: 'Build with cfitsio')