im_openout() compat was wrong

The compatibility macro for im_openout() was wrong, causing ruby-vips to
break.
This commit is contained in:
John Cupitt 2011-10-11 14:45:43 +01:00
parent df599f2f55
commit 35ff0fa7c4
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
12/9/11 started 7.26.4
- fallback vips_init()
- im_openout() compat stub was wrong, breaking ruby-vips
10/8/11 started 7.26.3
- don't use G_VALUE_COLLECT_INIT(), many platforms do not have a glib this

View File

@ -164,7 +164,7 @@ extern "C" {
#define im_invalidate vips_image_invalidate_all
#define im_isfile vips_image_isfile
#define im_printdesc( I ) vips_object_print( VIPS_OBJECT( I ) )
#define im_openout( F ) vips_image_new_from_file( F, "w" )
#define im_openout( F ) vips_image_new_mode( F, "w" )
#define im_setbuf( F ) vips_image_new( "t" )
#define im_initdesc( image, \