Skip to content

Commit deddbcd

Browse files
committed
af_save_image_memory wasn't being defined when freeimage wasn't found
1 parent 12e0ee0 commit deddbcd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/api/c/imageio.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ af_err af_load_image_memory(af_array *out, const void* ptr)
760760
return AF_ERR_NOT_CONFIGURED;
761761
}
762762

763-
af_err af_save_image_memory(void **ptr, const char* filename, const af_array in_)
763+
af_err af_save_image_memory(void **ptr, const af_array in_, const af_image_format format)
764764
{
765765
printf("Error: Image IO requires FreeImage. See https://github.com/arrayfire/arrayfire\n");
766766
return AF_ERR_NOT_CONFIGURED;

0 commit comments

Comments
 (0)