My Project
Loading...
Searching...
No Matches
omAllocFunc.c
Go to the documentation of this file.
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