SPRAAK
|
Macros | |
#define | SPR_CPP_CAT1(part1) |
Just substitute part1 by its macro value. More... | |
#define | SPR_CPP_CAT2(part1, part2) |
#define | SPR_CPP_CAT3(part1, part2, part3) |
#define | SPR_CPP_CAT4(part1, part2, part3, part4) |
#define | SPR_CPP_M2STR(val) |
Convert the value of a macro into a string. More... | |
#define | SPR_INT2PTR(val) |
#define | SPR_PTR2INT(val) |
#define | SPR_INT64_GET_LO32(val64) |
#define | SPR_INT64_GET_HI32(val64) |
#define | SPR_INT64_MAKE(hi, lo) |
#define | SPR_TO_UPPER(chr) |
#define | SPR_TO_LOWER(chr) |
#define | SPR_NOT_DEFINED |
#define | SPR_DEBUG_LVL |
#define | spr_debug_do_lvl1(...) |
#define | spr_debug_do_lvl2(...) |
#define | spr_debug_do_lvl3(...) |
#define SPR_CPP_CAT1 | ( | part1 | ) |
Just substitute part1 by its macro value.
only needed to indicate a macro substitution to the SPRAAK parser, hence assuring that the documentation will contain the correct name.
#define SPR_CPP_CAT2 | ( | part1, | |
part2 | |||
) |
Make a new name by concatenating part1 and part2; if any of the parts is a macro by itself, the macro value instead of the macro name will be used.
#define SPR_CPP_CAT3 | ( | part1, | |
part2, | |||
part3 | |||
) |
Make a new name by concatenating part1, part2 and part3; if any of the parts is a macro by itself, the macro value instead of the macro name will be used.
#define SPR_CPP_CAT4 | ( | part1, | |
part2, | |||
part3, | |||
part4 | |||
) |
Make a new name by concatenating part1, part2, part3 and part4; if any of the parts is a macro by itself, the macro value instead of the macro name will be used.
#define SPR_CPP_M2STR | ( | val | ) |
Convert the value of a macro into a string.
#define SPR_INT2PTR | ( | val | ) |
Convert an integer to a pointer value. Used as a check trick to store integers in locations that normaly hold pointers and to make special pointers next to NULL.
#define SPR_PTR2INT | ( | val | ) |
Convert a pointer value to an integer. Used as a check trick to store integers in locations that normaly hold pointers.
#define SPR_INT64_GET_LO32 | ( | val64 | ) |
#define SPR_INT64_GET_HI32 | ( | val64 | ) |
#define SPR_INT64_MAKE | ( | hi, | |
lo | |||
) |
#define SPR_TO_UPPER | ( | chr | ) |
Convert a character in the range 'a'-'z' or 'A'-'Z' to upper case. The effect on a non ASCII alphabetic character is undefined.
#define SPR_TO_LOWER | ( | chr | ) |
Convert a character in the range 'a'-'z' or 'A'-'Z' to lower case. The effect on a non ASCII alphabetic character is undefined.
#define SPR_NOT_DEFINED |
The number (-9). Typically used as the illegal or not initialized value for integer variables.
#define SPR_DEBUG_LVL |
#define spr_debug_do_lvl1 | ( | ... | ) |
#define spr_debug_do_lvl2 | ( | ... | ) |
#define spr_debug_do_lvl3 | ( | ... | ) |