33 #ifdef ICL_HAVE_LIBJPEG 47 struct icl_jpeg_error_mgr : jpeg_error_mgr {
48 jmp_buf setjmp_buffer;
52 ICLIO_API void icl_jpeg_error_exit(j_common_ptr cinfo);
59 inline JPEGDataHandle(){
60 info.err = jpeg_std_error(&em);
61 em.error_exit = icl_jpeg_error_exit;
63 struct jpeg_decompress_struct info;
64 struct icl_jpeg_error_mgr em;
72 #else // not ICL_HAVE_LIBJPEG 76 struct JPEGDataHandle{};
80 #endif // not ICL_HAVE_LIBJPEG undocument this line if you encounter any issues!
Definition: Any.h:37
#define ICLIO_API
Definition: CompatMacros.h:176