Ignore:
Timestamp:
Jan 22, 2003, 6:06:44 PM (23 years ago)
Author:
sandervl
Message:

Changed wrapper names

File:
1 edited

Legend:

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

    r9266 r9709  
    1 /* $Id: malloc.cpp,v 1.7 2002-09-19 09:38:26 sandervl Exp $ */
     1/* $Id: malloc.cpp,v 1.8 2003-01-22 17:06:42 sandervl Exp $ */
    22/*
    33 * Project Odin Software License can be found in LICENSE.TXT
     
    88 */
    99
    10 //#undef __DEBUG_ALLOC__
     10#define ORIGINAL_VAC_FUNCTIONS
    1111#include <malloc.h>
    1212#include <umalloc.h>
     
    4848#endif
    4949
    50 void * _LNK_CONV os2calloc( size_t a, size_t b )
     50void * _LNK_CONV CRTWRAP(calloc)( size_t a, size_t b )
    5151{
    5252    unsigned short sel = RestoreOS2FS();
     
    6262}
    6363
    64 void   _LNK_CONV os2free( void *a )
     64void   _LNK_CONV CRTWRAP(free)( void *a )
    6565{
    6666    unsigned short sel = RestoreOS2FS();
     
    7474}
    7575
    76 void * _LNK_CONV os2malloc( size_t a)
     76void * _LNK_CONV CRTWRAP(malloc)( size_t a)
    7777{
    7878    unsigned short sel = RestoreOS2FS();
     
    8989}
    9090
    91 void * _LNK_CONV os2realloc( void *a, size_t b)
     91void * _LNK_CONV CRTWRAP(realloc)( void *a, size_t b)
    9292{
    9393    unsigned short sel = RestoreOS2FS();
     
    103103}
    104104
    105 void * _LNK_CONV os2_debug_calloc( size_t a, size_t b, const char *c, size_t d)
     105void * _LNK_CONV CRTWRAP(_debug_calloc)( size_t a, size_t b, const char *c, size_t d)
    106106{
    107107    unsigned short sel = RestoreOS2FS();
     
    118118}
    119119
    120 void   _LNK_CONV os2_debug_free( void *a, const char *b, size_t c)
     120void   _LNK_CONV CRTWRAP(_debug_free)( void *a, const char *b, size_t c)
    121121{
    122122    unsigned short sel = RestoreOS2FS();
     
    131131}
    132132
    133 void * _LNK_CONV os2_debug_malloc( size_t a, const char *b, size_t c)
     133void * _LNK_CONV CRTWRAP(_debug_malloc)( size_t a, const char *b, size_t c)
    134134{
    135135    unsigned short sel = RestoreOS2FS();
     
    145145}
    146146
    147 void * _LNK_CONV os2_debug_realloc( void *a, size_t b, const char *c, size_t d)
     147void * _LNK_CONV CRTWRAP(_debug_realloc)( void *a, size_t b, const char *c, size_t d)
    148148{
    149149    unsigned short sel = RestoreOS2FS();
     
    158158}
    159159
    160 void * _LNK_CONV os2_umalloc(Heap_t a, size_t b)
     160void * _LNK_CONV CRTWRAP(_umalloc)(Heap_t a, size_t b)
    161161{
    162162    unsigned short sel = RestoreOS2FS();
     
    172172}
    173173
    174 void * _LNK_CONV os2_ucalloc(Heap_t a, size_t b, size_t c)
     174void * _LNK_CONV CRTWRAP(_ucalloc)(Heap_t a, size_t b, size_t c)
    175175{
    176176    unsigned short sel = RestoreOS2FS();
     
    186186}
    187187
    188 void * _LNK_CONV os2_debug_umalloc(Heap_t a, size_t b, const char *c, size_t d)
     188void * _LNK_CONV CRTWRAP(_debug_umalloc)(Heap_t a, size_t b, const char *c, size_t d)
    189189{
    190190    unsigned short sel = RestoreOS2FS();
     
    200200}
    201201
    202 void * _LNK_CONV os2_debug_ucalloc(Heap_t a, size_t b, size_t c, const char *d, size_t e)
     202void * _LNK_CONV CRTWRAP(_debug_ucalloc)(Heap_t a, size_t b, size_t c, const char *d, size_t e)
    203203{
    204204    unsigned short sel = RestoreOS2FS();
Note: See TracChangeset for help on using the changeset viewer.