source: git/omalloc/omalloc.h @ f3b65d

fieker-DuValspielwiese
Last change on this file since f3b65d was db143c, checked in by Hans Schoenemann <hannes@…>, 5 years ago
integrate xalloc into omalloc (./configure --disable-omalloc)
  • Property mode set to 100644
File size: 1.4 KB
Line 
1/*******************************************************************
2 *  File:    omalloc.h
3 *  Purpose: declaration of public routines for omalloc
4 *  Author:  obachman@mathematik.uni-kl.de (Olaf Bachmann)
5 *  Created: 11/99
6 *******************************************************************/
7#ifndef OM_ALLOC_H
8#define OM_ALLOC_H
9
10#include <stdlib.h>
11#include <stdio.h>
12#include <string.h>
13
14#include "omalloc/omConfig.h"
15#ifndef HAVE_OMALLOC
16#include "omalloc/xalloc.h"
17#else
18
19#ifdef __cplusplus
20extern "C" {
21  #if __cplusplus >= 201402L
22  /* clang 3.7, gcc 5.1 sets 201402L */
23  #define REGISTER
24  #elif defined(__clang__)
25  #define REGISTER
26  #else
27  #define REGISTER register
28  #endif
29#else
30  #define REGISTER register
31#endif
32
33
34#if defined(OM_NDEBUG) && !defined(OM_ALLOC_INTERNAL)
35#if (SIZEOF_LONG == 8)
36#define OM_T_FREE1
37#define OM_T_FREE3
38#define OM_T_STR
39#define OM_T_ALLOC
40#define OM_T_REALLOC
41#endif
42#endif
43
44#include "omDerivedConfig.h"
45#include "omError.h"
46#include "omStructs.h"
47#include "omAllocDecl.h"
48#include "omInlineDecl.h"
49#include "omBin.h"
50#include "omMemOps.h"
51#include "omList.h"
52#include "omGetBackTrace.h"
53#include "omRet2Info.h"
54#include "omStats.h"
55#include "omOpts.h"
56#include "omBinPage.h"
57#include "omAllocSystem.h"
58#include "omalloc/omTables.h"
59#include "omAllocPrivate.h"
60#include "omDebug.h"
61#include "omInline.h"
62#include "omAllocFunc.h"
63
64#ifdef __cplusplus
65}
66#endif
67
68#endif /* HAVE_OMALLOC */
69#endif /* OM_ALLOC_H */
Note: See TracBrowser for help on using the repository browser.