123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- #ifndef __EXIF_MEM_H__
- #define __EXIF_MEM_H__
- #include <libexif/exif-utils.h>
- #ifdef __cplusplus
- extern "C" {
- #endif
- typedef void * (* ExifMemAllocFunc) (ExifLong s);
- typedef void * (* ExifMemReallocFunc) (void *p, ExifLong s);
- typedef void (* ExifMemFreeFunc) (void *p);
- typedef struct _ExifMem ExifMem;
- 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);
- #ifdef __cplusplus
- }
- #endif
- #endif
|