add options back to VInterpolate

since we might use them in the future
This commit is contained in:
John Cupitt 2019-11-12 14:03:25 +00:00
parent b8ea3f8442
commit 92521c0dc6
2 changed files with 4 additions and 2 deletions

View File

@ -45,13 +45,15 @@
VIPS_NAMESPACE_START
VInterpolate
VInterpolate::new_from_name( const char *name )
VInterpolate::new_from_name( const char *name, VOption *options )
{
VipsInterpolate *interp;
if( !(interp = vips_interpolate_new( name )) ) {
delete options;
throw VError();
}
delete options;
VInterpolate out( interp );

View File

@ -43,7 +43,7 @@ public:
}
static
VInterpolate new_from_name( const char *name );
VInterpolate new_from_name( const char *name, VOption *options = 0 );
VipsInterpolate *
get_interpolate() const