Mercurial > vba-linux
view src/win32/7zip/7z/C/Alloc.h @ 2:3549bbe597ed
adding makefile.am
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:47 -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