PIPS
|
Go to the source code of this file.
Macros | |
#define | GENERIC_MAPPING(PREFIX, name, result, type) |
PIPS level: More... | |
#define | GENERIC_CURRENT_MAPPING(name, result, type) GENERIC_MAPPING(extern, name, result, type) |
#define | GENERIC_LOCAL_MAPPING(name, result, type) GENERIC_MAPPING(static, name, result, type) |
to allow mappings local to a file. More... | |
#define GENERIC_CURRENT_MAPPING | ( | name, | |
result, | |||
type | |||
) | GENERIC_MAPPING(extern, name, result, type) |
Definition at line 119 of file newgen_generic_mapping.h.
#define GENERIC_LOCAL_MAPPING | ( | name, | |
result, | |||
type | |||
) | GENERIC_MAPPING(static, name, result, type) |
to allow mappings local to a file.
it seems not to make sense, but I like the interface. FC 27/12/94
Definition at line 126 of file newgen_generic_mapping.h.
PIPS level:
GENERIC_MAPPING(PREFIX, name, result, type)
This macros are obsolete. Declare the mappings in newgen instead, and use the generic functions!
name: name of the mapping result: type of the result type: type of the mapping key // CTYPE: type of the mapping key in capital letters
a static variable 'name'_map of type 'type' is declared and can be accessed thru the definefd functions.
the mapping is 'name' = 'type' -> 'result'
Definition at line 72 of file newgen_generic_mapping.h.