Lines Matching defs:ExifMem
2 * \brief Define the ExifMem data type and the associated functions.
3 * ExifMem defines the memory management functions used within libexif.
49 /*! Free method for ExifMem
56 /*! ExifMem define a memory allocator */
57 typedef struct _ExifMem ExifMem;
59 /*! Create a new ExifMem
65 ExifMem *exif_mem_new (ExifMemAllocFunc a, ExifMemReallocFunc r,
67 /*! Refcount an ExifMem
69 void exif_mem_ref (ExifMem *);
71 /*! Unrefcount an ExifMem.
72 * If the refcount reaches 0, the ExifMem is freed
74 void exif_mem_unref (ExifMem *);
76 void *exif_mem_alloc (ExifMem *m, ExifLong s);
77 void *exif_mem_realloc (ExifMem *m, void *p, ExifLong s);
78 void exif_mem_free (ExifMem *m, void *p);
80 /*! Create a new ExifMem with default values for your convenience
82 * \return return a new default ExifMem
84 ExifMem *exif_mem_new_default (void);