1 #ifdef __cplusplus 2 extern "C" { 3 #endif 4 5 const char *jpgd_failure_reason(void); 6 unsigned char *jpgd_decompress_jpeg_image_from_memory(const unsigned char *pSrc_data, int src_data_size, int *width, int *height, int *actual_comps, int req_comps); 7 8 #ifdef __cplusplus 9 } //end extern "C" 10 #endif