Sha256: 2142794aa696e41a99eae8708e0371b9d6e8acd9a069ac30473cc38ce5b54eb8
Contents?: true
Size: 533 Bytes
Versions: 36
Compression:
Stored size: 533 Bytes
Contents
/* CC0 (Public domain) - see ccan/licenses/CC0 file for details */ #ifndef CCAN_STR_H #define CCAN_STR_H /** * ccan_stringify - Turn expression into a string literal * @expr: any C expression * * Example: * #define PRINT_COND_IF_FALSE(cond) \ * ((cond) || printf("%s is false!", ccan_stringify(cond))) */ #define stringify(expr) ccan_stringify_1(expr) #define ccan_stringify(expr) ccan_stringify_1(expr) /* Double-indirection required to stringify expansions */ #define ccan_stringify_1(expr) #expr #endif /* CCAN_STR_H */
Version data entries
36 entries across 16 versions & 4 rubygems