|
PebbleOS
|
Preprocessor repetition. More...
Macros | |
| #define | PBL_LISTIFY(n, F) PBL_LISTIFY_(n, F) |
| Expand to F(0) F(1) ... F(n - 1). | |
Preprocessor repetition.
| #define PBL_LISTIFY | ( | n, | |
| F | |||
| ) | PBL_LISTIFY_(n, F) |
Expand to F(0) F(1) ... F(n - 1).
| n | Count, a decimal literal or a macro expanding to one, up to 512. |
| F | Function-like macro taking the index. |