#include <libexif/exif-utils.h>
Go to the source code of this file.
Typedefs | |
typedef void *(* | ExifMemAllocFunc )(ExifLong s) |
typedef void *(* | ExifMemReallocFunc )(void *p, ExifLong s) |
typedef void(* | ExifMemFreeFunc )(void *p) |
typedef _ExifMem | ExifMem |
Functions | |
ExifMem * | exif_mem_new (ExifMemAllocFunc a, ExifMemReallocFunc r, ExifMemFreeFunc f) |
void | exif_mem_ref (ExifMem *) |
void | exif_mem_unref (ExifMem *) |
void * | exif_mem_alloc (ExifMem *m, ExifLong s) |
void * | exif_mem_realloc (ExifMem *m, void *p, ExifLong s) |
void | exif_mem_free (ExifMem *m, void *p) |
ExifMem * | exif_mem_new_default (void) |
|
ExifMem define a memory allocator |
|
Should work like calloc()
|
|
Free method for ExifMem
|
|
Should work like realloc()
|
|
Create a new ExifMem
|
|
The default ExifMem for your convenience
|
|
Refcount an ExifMem |
|
Unrefcount an ExifMem If the refcount reaches 0, the ExifMem is freed |