DCL 4.0
Loading...
Searching...
No Matches
ListT.h
Go to the documentation of this file.
1#ifndef __DCL_LIST_T_H__
2#define __DCL_LIST_T_H__ 20110303
3
4#ifndef __DCL_CONFIG_H__
5 #include <dcl/Config.h>
6#endif
7
8#if !__DCL_DEBUG && !defined(__DCL_INCLUDED_STDLIB_H)
9 #include <stdlib.h> // malloc, free, realloc
10 #define __DCL_INCLUDED_STDLIB_H
11#endif
12#ifndef __DCL_INCLUDED_STRING_H
13 #include <string.h> // memset, memmove
14 #define __DCL_INCLUDED_STRING_H
15#endif
16
17#ifndef __DCL_OBJECT_H__
18#include <dcl/Object.h>
19#endif
20#ifndef __DCL_LIST_BASE
21#include <dcl/ListBase.h>
22#endif
23
24#if __DCL_HAVE_ALLOC_DEBUG
25 #undef __DCL_ALLOC_LEVEL
26 #define __DCL_ALLOC_LEVEL __DCL_ALLOC_INTERNAL
27 #undef new
28 #define new __DCL_DEBUG_NEW
29#endif
30
31#ifdef __GNUC__
32#include <dcl/__ListT-GCC.h>
33#elif defined(_MSC_VER)
34#include <dcl/__ListT-MSC.h>
35#else
36#error "Not Supported Compiler!"
37#endif
38
39#if __DCL_HAVE_ALLOC_DEBUG
40 #undef __DCL_ALLOC_LEVEL
41 #define __DCL_ALLOC_LEVEL __DCL_ALLOC_USER
42 #undef new
43 #define new __DCL_DEBUG_NEW
44#endif
45
46#endif // __DCL_LIST_T_H__