Globals

Macros

MDDS_ASCII(literal)

Expands a literal string into two arguments: the first one is the literal string itself, and the second one is the length of that string.

Note that this macro only works with literal strings defined inline; it does not work with pointer values that point to strings defined elsewhere.

MDDS_N_ELEMENTS(name)

Calculates the length of name array provided that the array definition is given in the same compilation unit.