Rev 4733 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4733 | Rev 4756 | ||
---|---|---|---|
Line 48... | Line 48... | ||
48 | /** Internal magic value for a map consistency check. |
48 | /** Internal magic value for a map consistency check. |
49 | */ |
49 | */ |
50 | #define GENERIC_CHAR_MAP_MAGIC_VALUE 0x12345622 |
50 | #define GENERIC_CHAR_MAP_MAGIC_VALUE 0x12345622 |
51 | 51 | ||
52 | /** Character string to generic type map declaration. |
52 | /** Character string to generic type map declaration. |
53 | * @param name Name of the map. Input parameter. |
53 | * @param[in] name Name of the map. |
54 | * @param type Inner object type. Input parameter |
54 | * @param[in] type Inner object type. |
55 | */ |
55 | */ |
56 | #define GENERIC_CHAR_MAP_DECLARE( name, type ) \ |
56 | #define GENERIC_CHAR_MAP_DECLARE( name, type ) \ |
57 | \ |
57 | \ |
58 | GENERIC_FIELD_DECLARE( name##_items, type ) \ |
58 | GENERIC_FIELD_DECLARE( name##_items, type ) \ |
59 | \ |
59 | \ |
Line 74... | Line 74... | ||
74 | int name##_initialize( name##_ref map ); \ |
74 | int name##_initialize( name##_ref map ); \ |
75 | int name##_is_valid( name##_ref map ); |
75 | int name##_is_valid( name##_ref map ); |
76 | 76 | ||
77 | /** Character string to generic type map implementation. |
77 | /** Character string to generic type map implementation. |
78 | * Should follow declaration with the same parameters. |
78 | * Should follow declaration with the same parameters. |
79 | * @param name Name of the map. Input parameter. |
79 | * @param[in] name Name of the map. |
80 | * @param type Inner object type. Input parameter |
80 | * @param[in] type Inner object type. |
81 | */ |
81 | */ |
82 | #define GENERIC_CHAR_MAP_IMPLEMENT( name, type ) \ |
82 | #define GENERIC_CHAR_MAP_IMPLEMENT( name, type ) \ |
83 | \ |
83 | \ |
84 | GENERIC_FIELD_IMPLEMENT( name##_items, type ) \ |
84 | GENERIC_FIELD_IMPLEMENT( name##_items, type ) \ |
85 | \ |
85 | \ |