1 /* LzmaAlloc.h -- Memory allocation functions 2 2009-02-07 : Igor Pavlov : Public domain */ 3 4 #ifndef __COMMON_ALLOC_H 5 #define __COMMON_ALLOC_H 6 7 #include <stddef.h> 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 void *MidAlloc(size_t size); 14 void MidFree(void *address); 15 void *BigAlloc(size_t size); 16 void BigFree(void *address); 17 18 #ifdef __cplusplus 19 } 20 #endif 21 22 #endif 23