VImage::get_typeof() returns GType

it was int, causing some compiler warnings on some platforms.

see https://github.com/jcupitt/libvips/issues/362
This commit is contained in:
John Cupitt 2016-01-09 20:27:14 +00:00
parent bf64fde872
commit 50db131865
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
- small doc improvements
- small vips7 C++ improvement
- remove exception specifications from vips8 C++ interface
- VImage::get_typeof() now returns GType
7/10/15 started 8.2.0
- added im_bufmagick2vips(), a vips7 wrapper for magick load from buffer

View File

@ -357,7 +357,7 @@ public:
free_fn, data, length );
}
int
GType
get_typeof( const char *field )
{
return( vips_image_get_typeof( this->get_image(), field ) );