## Memory managment

Memory managment — hooks for defining your own memory managment functions

## Synopsis

    void *              (*IptcMemAllocFunc)                 (IptcLong Param1);
    void *              (*IptcMemReallocFunc)               (void *Param1,
                                                             IptcLong Param2);
    void                (*IptcMemFreeFunc)                  (void *Param1);
                        IptcMem;
    IptcMem *           iptc_mem_new                        (IptcMemAllocFunc Param1,
                                                             IptcMemReallocFunc Param2,
                                                             IptcMemFreeFunc Param3);
    void                iptc_mem_ref                        (IptcMem *Param1);
    void                iptc_mem_unref                      (IptcMem *Param1);
    void *              iptc_mem_alloc                      (IptcMem *Param1,
                                                             IptcLong Param2);
    void *              iptc_mem_realloc                    (IptcMem *Param1,
                                                             void *Param2,
                                                             IptcLong Param3);
    void                iptc_mem_free                       (IptcMem *Param1,
                                                             void *Param2);
    IptcMem *           iptc_mem_new_default                (void);

## Description

## Details

### IptcMemAllocFunc ()

    void *              (*IptcMemAllocFunc)                 (IptcLong Param1);

### IptcMemReallocFunc ()

    void *              (*IptcMemReallocFunc)               (void *Param1,
                                                             IptcLong Param2);

### IptcMemFreeFunc ()

    void                (*IptcMemFreeFunc)                  (void *Param1);

### IptcMem

    typedef struct _IptcMem IptcMem;

### iptc_mem_new ()

    IptcMem *           iptc_mem_new                        (IptcMemAllocFunc Param1,
                                                             IptcMemReallocFunc Param2,
                                                             IptcMemFreeFunc Param3);

### iptc_mem_ref ()

    void                iptc_mem_ref                        (IptcMem *Param1);

### iptc_mem_unref ()

    void                iptc_mem_unref                      (IptcMem *Param1);

### iptc_mem_alloc ()

    void *              iptc_mem_alloc                      (IptcMem *Param1,
                                                             IptcLong Param2);

### iptc_mem_realloc ()

    void *              iptc_mem_realloc                    (IptcMem *Param1,
                                                             void *Param2,
                                                             IptcLong Param3);

### iptc_mem_free ()

    void                iptc_mem_free                       (IptcMem *Param1,
                                                             void *Param2);

### iptc_mem_new_default ()

    IptcMem *           iptc_mem_new_default                (void);