| 1 | /* 7zAlloc.h -- Allocation functions |
|---|---|
| 2 | 2010-10-29 : Igor Pavlov : Public domain */ |
| 3 | |
| 4 | #ifndef __7Z_ALLOC_H |
| 5 | #define __7Z_ALLOC_H |
| 6 | |
| 7 | #include <stdlib.h> |
| 8 | |
| 9 | #ifdef __cplusplus |
| 10 | extern "C"{ |
| 11 | #endif |
| 12 | |
| 13 | void *SzAlloc(void *p, size_t size); |
| 14 | void SzFree(void *p, void *address); |
| 15 | |
| 16 | void *SzAllocTemp(void *p, size_t size); |
| 17 | void SzFreeTemp(void *p, void *address); |
| 18 | |
| 19 | #ifdef __cplusplus |
| 20 | } |
| 21 | #endif |
| 22 | |
| 23 | #endif |
| 24 |