im_openout() compat was wrong
The compatibility macro for im_openout() was wrong, causing ruby-vips to break.
This commit is contained in:
parent
df599f2f55
commit
35ff0fa7c4
@ -1,5 +1,6 @@
|
|||||||
12/9/11 started 7.26.4
|
12/9/11 started 7.26.4
|
||||||
- fallback vips_init()
|
- fallback vips_init()
|
||||||
|
- im_openout() compat stub was wrong, breaking ruby-vips
|
||||||
|
|
||||||
10/8/11 started 7.26.3
|
10/8/11 started 7.26.3
|
||||||
- don't use G_VALUE_COLLECT_INIT(), many platforms do not have a glib this
|
- don't use G_VALUE_COLLECT_INIT(), many platforms do not have a glib this
|
||||||
|
@ -164,7 +164,7 @@ extern "C" {
|
|||||||
#define im_invalidate vips_image_invalidate_all
|
#define im_invalidate vips_image_invalidate_all
|
||||||
#define im_isfile vips_image_isfile
|
#define im_isfile vips_image_isfile
|
||||||
#define im_printdesc( I ) vips_object_print( VIPS_OBJECT( I ) )
|
#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_setbuf( F ) vips_image_new( "t" )
|
||||||
|
|
||||||
#define im_initdesc( image, \
|
#define im_initdesc( image, \
|
||||||
|
Loading…
Reference in New Issue
Block a user