HACKING 196 字节
Newer Older
B
Blue Swirl 已提交
1 2 3 4 5 6
1. Preprocessor

For variadic macros, stick with this C99-like syntax:

#define DPRINTF(fmt, ...)                                       \
    do { printf("IRQ: " fmt, ## __VA_ARGS__); } while (0)