7zAlloc.h 366 B

12345678910111213141516171819
  1. /* 7zAlloc.h -- Allocation functions
  2. 2017-04-03 : Igor Pavlov : Public domain */
  3. #ifndef __7Z_ALLOC_H
  4. #define __7Z_ALLOC_H
  5. #include "7zTypes.h"
  6. EXTERN_C_BEGIN
  7. void *SzAlloc(ISzAllocPtr p, size_t size);
  8. void SzFree(ISzAllocPtr p, void *address);
  9. void *SzAllocTemp(ISzAllocPtr p, size_t size);
  10. void SzFreeTemp(ISzAllocPtr p, void *address);
  11. EXTERN_C_END
  12. #endif