From: Steve Hay Date: Wed, 10 Oct 2012 12:48:00 +0000 (+0100) Subject: Minor tidy-ups from 624a1c42c1 X-Git-Tag: upstream/5.20.0~5182 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b75e117712b47a046f3987d893670a647a51688a;p=platform%2Fupstream%2Fperl.git 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. --- diff --git a/win32/vmem.h b/win32/vmem.h index 8247e43..4289cee 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) {