source: git/omalloc/omAllocFunc.c

spielwiese
Last change on this file was d9cea7, checked in by Hans Schoenemann <hannes@…>, 3 years ago
omalloc: removed memalign
  • Property mode set to 100644
File size: 809 bytes
Line 
1/*******************************************************************
2 *  File:    omAllocFunc.c
3 *  Purpose: implementation of ANSI-C conforming malloc functions
4 *           which are sure to be functions, which start with the om prefix,
5 *           and end with the Func suffix.
6 *  Author:  obachman@mathematik.uni-kl.de (Olaf Bachmann)
7 *  Created: 11/99
8 *******************************************************************/
9#include "omalloc/omConfig.h"
10
11#ifdef HAVE_OMALLOC
12#define malloc      omMallocFunc
13#define calloc      omCallocFunc
14#define free        omFreeFunc
15#define freeSize    omFreeSizeFunc
16#define realloc     omReallocFunc
17#define reallocSize omReallocSizeFunc
18#define strdup      omStrdupFunc
19#define valloc      omVallocFunc
20
21#define OMALLOC_FUNC
22#include <omalloc/omalloc.c>
23#endif
Note: See TracBrowser for help on using the repository browser.