feat(#15): add benchmark tests

This commit is contained in:
Tomas Aparicio 2015-04-07 23:23:42 +02:00
parent 16576f49c9
commit bfe0e700ce
5 changed files with 77 additions and 36 deletions

11
vips.h
View file

@ -11,12 +11,6 @@ enum types {
MAGICK
};
void
vips_malloc_cb(VipsObject *object, char *buf)
{
g_free(buf);
};
int
vips_affine_interpolator(VipsImage *in, VipsImage **out, double a, double b, double c, double d, VipsInterpolate *interpolator)
{
@ -157,10 +151,5 @@ vips_init_image(void *buf, size_t len, int imageType, VipsImage **out) {
#endif
}
// Listen for "postclose" signal to delete input buffer
//if (out != NULL) {
//g_signal_connect(out, "postclose", G_CALLBACK(vips_malloc_cb), buf);
//}
return code;
};