navit 0.5.3-trunk
Loading...
Searching...
No Matches
attr_type_def.h
Go to the documentation of this file.
1#ifndef NAVIT_ATTR_TYPE_DEFH
2#define NAVIT_ATTR_TYPE_DEFH
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
12#define ATTR2(x,y) attr_##y=x,
13#define ATTR(x) attr_##x,
14
15 /* Special macro for unused attribute types. Creates a placeholder entry
16 * in the enum so the following values do not change. */
17#define ATTR_UNUSED ATTR_UNUSED_L(__LINE__)
18#define ATTR_UNUSED_L(x) ATTR_UNUSED_WITH_LINE_NUMBER(x)
19#define ATTR_UNUSED_WITH_LINE_NUMBER(x) ATTR_UNUSED_##x,
20
21#include "attr_def.h"
22
23#undef ATTR_UNUSED_WITH_LINE_NUMBER
24#undef ATTR_UNUSED_L
25#undef ATTR_UNUSED
26
27#undef ATTR2
28#undef ATTR
29};
30
31#ifdef __cplusplus
32}
33/* __cplusplus */
34#endif
35
36/* NAVIT_ATTR_TYPE_DEFH */
37#endif
Attribute definitions.
attr_type
Definition attr_type_def.h:11