18 #define JPEG_INTERNALS
31 return (
void *) malloc(sizeofobject);
51 return (
void FAR *) malloc(sizeofobject);
68 long max_bytes_needed,
long already_allocated)
70 return max_bytes_needed;
82 long total_bytes_needed)
84 ERREXIT(cinfo, JERR_NO_BACKING_STORE);
GLOBAL void FAR * jpeg_get_large(j_common_ptr cinfo, size_t sizeofobject)
#define ERREXIT(cinfo, code)
GLOBAL long jpeg_mem_init(j_common_ptr cinfo)
GLOBAL void * jpeg_get_small(j_common_ptr cinfo, size_t sizeofobject)
GLOBAL long jpeg_mem_available(j_common_ptr cinfo, long min_bytes_needed, long max_bytes_needed, long already_allocated)
GLOBAL void jpeg_free_large(j_common_ptr cinfo, void FAR *object, size_t sizeofobject)
GLOBAL void jpeg_free_small(j_common_ptr cinfo, void *object, size_t sizeofobject)
GLOBAL void jpeg_open_backing_store(j_common_ptr cinfo, backing_store_ptr info, long total_bytes_needed)
GLOBAL void jpeg_mem_term(j_common_ptr cinfo)