/** * misc-utils.h * Various utilities for dealing with code. Primarily defines some * common macros that I like to use */ #ifndef __MISC_UTILS_H__ #define __MISC_UTILS_H__ // +--------+----------------------------------------------------------- // | Macros | // +--------+ /** * BLOCK(CODE) * Turn CODE into a block that you can legally nest. */ #define BLOCK(CODE) do { CODE } while (0) #endif // __MISC_UTILS_H__