diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2012-10-10 13:48:00 +0100 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2012-10-10 13:48:00 +0100 |
commit | b75e117712b47a046f3987d893670a647a51688a (patch) | |
tree | dcd307a38d29239d4955245258053befd1798a4c /win32/vmem.h | |
parent | 624a1c42c1b67cb5d676986900a9d4acab64883c (diff) | |
download | perl-b75e117712b47a046f3987d893670a647a51688a.tar.gz |
Minor tidy-ups from 624a1c42c1
Fix indents and update comments to reflect the fact that the compiler's
msvcr*.dll is now used rather than loading msvcrt.dll too.
Diffstat (limited to 'win32/vmem.h')
-rw-r--r-- | win32/vmem.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/win32/vmem.h b/win32/vmem.h index 8247e4352b..4289cee47f 100644 --- a/win32/vmem.h +++ b/win32/vmem.h @@ -9,8 +9,8 @@ * Options: * * Defining _USE_MSVCRT_MEM_ALLOC will cause all memory allocations - * to be forwarded to MSVCRT.DLL. Defining _USE_LINKED_LIST as well will - * track all allocations in a doubly linked list, so that the host can + * to be forwarded to the compiler's MSVCR*.DLL. Defining _USE_LINKED_LIST as + * well will track all allocations in a doubly linked list, so that the host can * free all memory allocated when it goes away. * If _USE_MSVCRT_MEM_ALLOC is not defined then Knuth's boundary tag algorithm * is used; defining _USE_BUDDY_BLOCKS will use Knuth's algorithm R @@ -65,8 +65,8 @@ inline void MEMODSlx(char *str, long x) #endif /* - * Pass all memory requests throught to msvcrt.dll - * optionaly track by using a doubly linked header + * Pass all memory requests through to the compiler's msvcr*.dll. + * Optionaly track by using a doubly linked header. */ #ifdef _USE_LINKED_LIST @@ -85,13 +85,13 @@ public: VMem(); ~VMem(); void* Malloc(size_t size); - void* Realloc(void* pMem, size_t size); - void Free(void* pMem); - void GetLock(void); - void FreeLock(void); - int IsLocked(void); - long Release(void); - long AddRef(void); + void* Realloc(void* pMem, size_t size); + void Free(void* pMem); + void GetLock(void); + void FreeLock(void); + int IsLocked(void); + long Release(void); + long AddRef(void); inline BOOL CreateOk(void) { @@ -402,14 +402,14 @@ class VMem public: VMem(); ~VMem(); - void* Malloc(size_t size); - void* Realloc(void* pMem, size_t size); - void Free(void* pMem); - void GetLock(void); - void FreeLock(void); - int IsLocked(void); - long Release(void); - long AddRef(void); + void* Malloc(size_t size); + void* Realloc(void* pMem, size_t size); + void Free(void* pMem); + void GetLock(void); + void FreeLock(void); + int IsLocked(void); + long Release(void); + long AddRef(void); inline BOOL CreateOk(void) { |