swp int -> GType in some decls

Some linkers complain about these type mismatches. Thanks kloczek.

See https://github.com/libvips/libvips/issues/1604
This commit is contained in:
John Cupitt 2020-04-09 12:20:00 +01:00
parent 471ec9bcc0
commit 051be9203f
3 changed files with 23 additions and 23 deletions

View File

@ -157,19 +157,19 @@ vips_convolution_init( VipsConvolution *convolution )
void
vips_convolution_operation_init( void )
{
extern int vips_conv_get_type( void );
extern int vips_conva_get_type( void );
extern int vips_convf_get_type( void );
extern int vips_convi_get_type( void );
extern int vips_convsep_get_type( void );
extern int vips_convasep_get_type( void );
extern int vips_compass_get_type( void );
extern int vips_fastcor_get_type( void );
extern int vips_spcor_get_type( void );
extern int vips_sharpen_get_type( void );
extern int vips_gaussblur_get_type( void );
extern int vips_sobel_get_type( void );
extern int vips_canny_get_type( void );
extern GType vips_conv_get_type( void );
extern GType vips_conva_get_type( void );
extern GType vips_convf_get_type( void );
extern GType vips_convi_get_type( void );
extern GType vips_convsep_get_type( void );
extern GType vips_convasep_get_type( void );
extern GType vips_compass_get_type( void );
extern GType vips_fastcor_get_type( void );
extern GType vips_spcor_get_type( void );
extern GType vips_sharpen_get_type( void );
extern GType vips_gaussblur_get_type( void );
extern GType vips_sobel_get_type( void );
extern GType vips_canny_get_type( void );
vips_conv_get_type();
vips_conva_get_type();

View File

@ -132,11 +132,11 @@ vips_morphology_init( VipsMorphology *morphology )
void
vips_morphology_operation_init( void )
{
extern int vips_morph_get_type( void );
extern int vips_rank_get_type( void );
extern int vips_countlines_get_type( void );
extern int vips_labelregions_get_type( void );
extern int vips_fill_nearest_get_type( void );
extern GType vips_morph_get_type( void );
extern GType vips_rank_get_type( void );
extern GType vips_countlines_get_type( void );
extern GType vips_labelregions_get_type( void );
extern GType vips_fill_nearest_get_type( void );
vips_morph_get_type();
vips_rank_get_type();

View File

@ -95,11 +95,11 @@
void
vips_mosaicing_operation_init( void )
{
extern int vips_merge_get_type( void );
extern int vips_mosaic_get_type( void );
extern int vips_mosaic1_get_type( void );
extern int vips_match_get_type( void );
extern int vips_globalbalance_get_type( void );
extern GType vips_merge_get_type( void );
extern GType vips_mosaic_get_type( void );
extern GType vips_mosaic1_get_type( void );
extern GType vips_match_get_type( void );
extern GType vips_globalbalance_get_type( void );
vips_merge_get_type();
vips_mosaic_get_type();