Changeset 0642d6 in git for omalloc/omAllocDecl.h


Ignore:
Timestamp:
Apr 7, 2011, 11:43:46 AM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
7c230ff8e2d24453069aa4a9c80d882e8f9266d2
Parents:
830ef89e5dc0be692aac1a170b5523278b45caba
Message:
omcalloc not needed

git-svn-id: file:///usr/local/Singular/svn/trunk@14105 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • omalloc/omAllocDecl.h

    r830ef8 r0642d6  
    2121
    2222
    23 #if !defined(OMALLOC_C) && !defined(OM_NO_MALLOC_MACROS)
    24 #define calloc      omcalloc
    25 #define malloc      omalloc
    26 #define free        omfree
    27 #define realloc     omrealloc
    28 #define freeSize    omfreeSize
    29 #define reallocSize omreallocSize
    30 #endif
    31 
    3223#if (!defined(OM_EMULATE_OMALLOC) && !defined(OM_NDEBUG) && (defined(OM_CHECK) || (defined(OM_HAVE_TRACK) && defined(OM_TRACK)))) || defined(OM_T1)
    3324
     
    6354#define omalloc(size)   _omDebugAlloc((void*)(size),OM_FSIZE|OM_FSLOPPY|OM_FALIGN|_OM_FKEEP,OM_CTFL)
    6455#define omalloc0(size)  _omDebugAlloc((void*)(size),OM_FSIZE|OM_FZERO|OM_FSLOPPY|OM_FALIGN|_OM_FKEEP,OM_CTFL)
    65 #define omcalloc(n,size)_omDebugAlloc((void*) ((size)*n),OM_FSIZE|OM_FZERO|OM_FSLOPPY|OM_FALIGN|_OM_FKEEP,OM_CTFL)
    6656
    6757#else
     
    7868#define omalloc(size)   _omalloc(size)
    7969#define omalloc0(size)  _omalloc0(size)
    80 #define omcalloc(n,size)_omalloc0(n*size)
    8170
    8271#endif
     
    252241#define omalloc(size)   _omalloc(size)
    253242#define omalloc0(size)  _omalloc0(size)
    254 #define omcalloc(n,size)_omalloc0(n*size)
    255243
    256244#define omreallocSize(addr,o_size,size) _omreallocSize(addr,o_size,size)
Note: See TracChangeset for help on using the changeset viewer.