25#ifndef LIBEXIF_EXIF_MEM_H
26#define LIBEXIF_EXIF_MEM_H
39typedef void * (* ExifMemAllocFunc) (
ExifLong s);
47typedef void * (* ExifMemReallocFunc) (
void *p,
ExifLong s);
79void exif_mem_free (
ExifMem *m,
void *p);
void(* ExifMemFreeFunc)(void *p)
Free method for ExifMem.
Definition exif-mem.h:54
void *(* ExifMemAllocFunc)(ExifLong s)
Should work like calloc()
Definition exif-mem.h:39
struct _ExifMem ExifMem
ExifMem define a memory allocator.
Definition exif-mem.h:57
ExifMem * exif_mem_new_default(void)
Create a new ExifMem with default values for your convenience.
Definition exif-mem.c:95
void exif_mem_ref(ExifMem *)
Refcount an ExifMem.
Definition exif-mem.c:54
ExifMem * exif_mem_new(ExifMemAllocFunc a, ExifMemReallocFunc r, ExifMemFreeFunc f)
Create a new ExifMem.
Definition exif-mem.c:34
void exif_mem_unref(ExifMem *)
Unrefcount an ExifMem.
Definition exif-mem.c:61
void *(* ExifMemReallocFunc)(void *p, ExifLong s)
Should work like realloc()
Definition exif-mem.h:47
EXIF data manipulation functions and types.
uint32_t ExifLong
EXIF Unsigned Long data type.
Definition exif-utils.h:54