diff --git a/CGALimageIO/src/CGALimageIO/imageio/ImageIO.h b/CGALimageIO/src/CGALimageIO/imageio/ImageIO.h index 03e440cf02e..02e67784b7d 100644 --- a/CGALimageIO/src/CGALimageIO/imageio/ImageIO.h +++ b/CGALimageIO/src/CGALimageIO/imageio/ImageIO.h @@ -441,13 +441,13 @@ void removeSupportedFileFormat(); @param fileName image file name */ PTRIMAGE_FORMAT imageType(const char *fileName); - +extern "C" { /** function prototype to allocate memory */ typedef void *(*ALLOCATION_FUNCTION)(size_t); /** function prototype to free memory */ typedef void (*DEALLOCATION_FUNCTION)(void *); - +} /** set allocation and deallocation routines @param alloc new allocation routine