Ignore:
Timestamp:
Jan 23, 2003, 1:33:06 PM (23 years ago)
Author:
sandervl
Message:

Added wrappers for new & delete operators

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/odincrt/malloc.cpp

    r9709 r9715  
    1 /* $Id: malloc.cpp,v 1.8 2003-01-22 17:06:42 sandervl Exp $ */
     1/* $Id: malloc.cpp,v 1.9 2003-01-23 12:33:04 sandervl Exp $ */
    22/*
    33 * Project Odin Software License can be found in LICENSE.TXT
     
    3434}
    3535
    36 void __cdecl new_alloc(int size)
    37 {
    38     nrcalls_malloc++;
    39     totalmemalloc += size;
    40 }
    41 
    42 void __cdecl delete_free(void *ptr)
    43 {
    44     nrcalls_free++;
    45     totalmemalloc -= _msize(ptr);
    46 }
    47 
    4836#endif
    4937
Note: See TracChangeset for help on using the changeset viewer.