This commit is contained in:
John Cupitt 2008-12-20 10:24:30 +00:00
parent 4f40a94ffe
commit 6ea9df5b9d
2 changed files with 3 additions and 2 deletions

View File

@ -110,7 +110,8 @@ void *vips_format_map( VSListMap2Fn fn, void *a, void *b );
VipsFormatClass *vips_format_for_file( const char *filename );
VipsFormatClass *vips_format_for_name( const char *filename );
VipsFormatFlags vips_format_get_flags( VipsFormatClass *format );
VipsFormatFlags vips_format_get_flags( VipsFormatClass *format,
const char *filename );
/* Read/write an image convenience functions.
*/

View File

@ -126,7 +126,7 @@ vips_format_init( VipsFormat *object )
}
VipsFormatFlags
vips_format_get_flags( VipsFormatClass *format )
vips_format_get_flags( VipsFormatClass *format, const char *filename )
{
return( format->get_flags ? format->get_flags( filename ) : 0 );
}