oop fix compile

This commit is contained in:
John Cupitt 2013-11-04 14:34:36 +00:00
parent 079c9775aa
commit b0f262091f
2 changed files with 10 additions and 1 deletions

View File

@ -2236,13 +2236,20 @@ im_addgnoise( IMAGE *in, IMAGE *out, double sigma )
return( 0 );
}
int
im_contrast_surface_raw( IMAGE *in, IMAGE *out, int half_win_size, int spacing )
{
im_error( "im_contrast_surface_raw", "no compat function" );
return( -1 );
}
/* This replaces some custom code in 7.36 and earlier. The hand-made one was
* slower for spacing == 1, though faster for large values of spacing.
*
* Not worth maintaining a special operator for.
*/
int
im_contrast_surface (IMAGE * in, IMAGE * out, int half_win_size, int spacing)
im_contrast_surface( IMAGE *in, IMAGE *out, int half_win_size, int spacing )
{
VipsImage **t = (VipsImage **)
vips_object_local_array( VIPS_OBJECT( out ), 10 );

View File

@ -918,6 +918,8 @@ int im_lindetect( VipsImage *in, VipsImage *out, INTMASK *mask );
int im_addgnoise( VipsImage *in, VipsImage *out, double sigma );
int im_contrast_surface_raw( IMAGE *in, IMAGE *out,
int half_win_size, int spacing );
int im_contrast_surface( VipsImage *in, VipsImage *out,
int half_win_size, int spacing );