7zAlloc.h 380 B

1234567891011121314151617181920212223
  1. /* 7zAlloc.h -- Allocation functions
  2. 2013-03-25 : Igor Pavlov : Public domain */
  3. #ifndef __7Z_ALLOC_H
  4. #define __7Z_ALLOC_H
  5. #include <stdlib.h>
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9. void *SzAlloc(void *p, size_t size);
  10. void SzFree(void *p, void *address);
  11. void *SzAllocTemp(void *p, size_t size);
  12. void SzFreeTemp(void *p, void *address);
  13. #ifdef __cplusplus
  14. }
  15. #endif
  16. #endif