add options back to VInterpolate
since we might use them in the future
This commit is contained in:
parent
b8ea3f8442
commit
92521c0dc6
|
@ -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 );
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue