Ignore:
Timestamp:
Aug 9, 1999, 10:52:59 PM (26 years ago)
Author:
phaller
Message:

Add: debug_memory support

File:
1 edited

Legend:

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

    r441 r455  
    6464  ODIN_TEB_ON0()
    6565
     66void * ODINAPI  ODIN_debug_calloc ( size_t s1, size_t s2, const char *p1, size_t s3)
     67  ODIN_TEB_OFF
     68  void* rc =  _debug_calloc(s1,s2,p1,s3);
     69  ODIN_TEB_ON1(rc)
     70
     71void   ODINAPI  ODIN_debug_free   ( void *p1, const char *p2, size_t s1)
     72  ODIN_TEB_OFF
     73  _debug_free(p1,p2,s1);
     74  ODIN_TEB_ON0()
     75
     76void * ODINAPI  ODIN_debug_malloc ( size_t s1, const char * p1, size_t s2)
     77  ODIN_TEB_OFF
     78  void *rc = _debug_malloc(s1,p1,s2);
     79  ODIN_TEB_ON1(rc)
     80
     81void * ODINAPI  ODIN_debug_realloc( void *p1, size_t s1, const char *p2, size_t s2)
     82  ODIN_TEB_OFF
     83  void* rc = _debug_realloc(p1,s1,p2,s2);
     84  ODIN_TEB_ON1(rc)
    6685
    6786
Note: See TracChangeset for help on using the changeset viewer.