STE-Industries: utilities testing
|
Definitions of commonly used macros. More...
Macros | |
#define | IgnoreValue(Expression) (static_cast<void>(Expression)) |
#define | NumberOfElements(Array) (sizeof(Array) / sizeof((Array) [0])) |
Definitions of commonly used macros.
#define IgnoreValue | ( | Expression | ) | (static_cast<void>(Expression)) |
#include <Desktop/Termite/Include/Graphic.h>
Ignore the value of an expression, casting it to void.
Mostly useful for function calls.
Expression | The expression |
#define NumberOfElements | ( | Array | ) | (sizeof(Array) / sizeof((Array) [0])) |
#include <Desktop/Termite/Include/Graphic.h>
Computes the number of elements in a statically allocated array.
Array | The array name |