Mercurial > vba-linux
view src/win32/7zip/7z/C/Alloc.h @ 4:5f6f2134e8ce
apu appears to not be used
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:35:58 -0600 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 /* Alloc.h -- Memory allocation functions2 2008-03-133 Igor Pavlov4 Public domain */6 #ifndef __COMMON_ALLOC_H7 #define __COMMON_ALLOC_H9 #include <stddef.h>11 void *MyAlloc(size_t size);12 void MyFree(void *address);14 #ifdef _WIN3216 void SetLargePageSize();18 void *MidAlloc(size_t size);19 void MidFree(void *address);20 void *BigAlloc(size_t size);21 void BigFree(void *address);23 #else25 #define MidAlloc(size) MyAlloc(size)26 #define MidFree(address) MyFree(address)27 #define BigAlloc(size) MyAlloc(size)28 #define BigFree(address) MyFree(address)30 #endif32 #endif