Mercurial > vba-clojure
view src/win32/7zip/7z/C/Alloc.h @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
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