mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-13 01:10:29 -07:00
feat(#15): add benchmark tests
This commit is contained in:
parent
16576f49c9
commit
bfe0e700ce
5 changed files with 77 additions and 36 deletions
11
vips.h
11
vips.h
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue