spielwiese
Last change
on this file since 5ef600 was
aec210,
checked in by Hans Schoenemann <hannes@…>, 4 years ago
|
fix:extern int om_sing_opt_show_mem
|
-
Property mode set to
100644
|
File size:
1.5 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 |
---|
20 | extern "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 | extern int om_sing_opt_show_mem; |
---|
34 | |
---|
35 | #if defined(OM_NDEBUG) && !defined(OM_ALLOC_INTERNAL) |
---|
36 | #if (SIZEOF_LONG == 8) |
---|
37 | #define OM_T_FREE1 |
---|
38 | #define OM_T_FREE3 |
---|
39 | #define OM_T_STR |
---|
40 | #define OM_T_ALLOC |
---|
41 | #define OM_T_REALLOC |
---|
42 | #endif |
---|
43 | #endif |
---|
44 | |
---|
45 | #include "omDerivedConfig.h" |
---|
46 | #include "omError.h" |
---|
47 | #include "omStructs.h" |
---|
48 | #include "omAllocDecl.h" |
---|
49 | #include "omInlineDecl.h" |
---|
50 | #include "omBin.h" |
---|
51 | #include "omMemOps.h" |
---|
52 | #include "omList.h" |
---|
53 | #include "omGetBackTrace.h" |
---|
54 | #include "omRet2Info.h" |
---|
55 | #include "omStats.h" |
---|
56 | #include "omOpts.h" |
---|
57 | #include "omBinPage.h" |
---|
58 | #include "omAllocSystem.h" |
---|
59 | #include "omalloc/omTables.h" |
---|
60 | #include "omAllocPrivate.h" |
---|
61 | #include "omDebug.h" |
---|
62 | #include "omInline.h" |
---|
63 | #include "omAllocFunc.h" |
---|
64 | |
---|
65 | #ifdef __cplusplus |
---|
66 | } |
---|
67 | #endif |
---|
68 | |
---|
69 | #endif /* HAVE_OMALLOC */ |
---|
70 | #endif /* OM_ALLOC_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.