EXIF library (libexif) API
0.6.21
|
Go to the documentation of this file.
25 #ifndef __EXIF_MEM_H__
26 #define __EXIF_MEM_H__
39 typedef void * (* ExifMemAllocFunc) (
ExifLong s);
47 typedef void * (* ExifMemReallocFunc) (
void *p,
ExifLong s);
78 void exif_mem_free (
ExifMem *m,
void *p);
void *(* ExifMemReallocFunc)(void *p, ExifLong s)
Should work like realloc()
Definition: exif-mem.h:47
void *(* ExifMemAllocFunc)(ExifLong s)
Should work like calloc()
Definition: exif-mem.h:39
ExifMem * exif_mem_new_default(void)
Create a new ExifMem with default values for your convenience.
Definition: exif-mem.c:95
ExifMem * exif_mem_new(ExifMemAllocFunc a, ExifMemReallocFunc r, ExifMemFreeFunc f)
Create a new ExifMem.
Definition: exif-mem.c:34
EXIF data manipulation functions and types.
void exif_mem_unref(ExifMem *)
Unrefcount an ExifMem.
Definition: exif-mem.c:61
void(* ExifMemFreeFunc)(void *p)
Free method for ExifMem.
Definition: exif-mem.h:54
struct _ExifMem ExifMem
ExifMem define a memory allocator.
Definition: exif-mem.h:57
Define the ExifMem data type and the associated functions. ExifMem defines the memory management func...
uint32_t ExifLong
EXIF Unsigned Long data type.
Definition: exif-utils.h:54
void exif_mem_ref(ExifMem *)
Refcount an ExifMem.
Definition: exif-mem.c:54