25 #ifndef LIBEXIF_EXIF_MEM_H
26 #define LIBEXIF_EXIF_MEM_H
39 typedef void * (* ExifMemAllocFunc) (
ExifLong s);
47 typedef void * (* ExifMemReallocFunc) (
void *p,
ExifLong s);
void * exif_mem_alloc(ExifMem *m, ExifLong s)
void * exif_mem_realloc(ExifMem *m, void *p, ExifLong s)
void *(* ExifMemReallocFunc)(void *p, ExifLong s)
Should work like realloc()
void(* ExifMemFreeFunc)(void *p)
Free method for ExifMem.
ExifMem * exif_mem_new(ExifMemAllocFunc a, ExifMemReallocFunc r, ExifMemFreeFunc f)
Create a new ExifMem.
void exif_mem_free(ExifMem *m, void *p)
ExifMem * exif_mem_new_default(void)
Create a new ExifMem with default values for your convenience.
void exif_mem_ref(ExifMem *)
Refcount an ExifMem.
void exif_mem_unref(ExifMem *)
Unrefcount an ExifMem.
void *(* ExifMemAllocFunc)(ExifLong s)
Should work like calloc()
EXIF data manipulation functions and types.
uint32_t ExifLong
EXIF Unsigned Long data type.