4 ms·
For a contained example of many of these used appropriately, look at the source for libev (http://software.schmorp.de/pkg/libev.html http://software.schmorp.de/
by silentbicycle 16y ago
For a contained example of many of these used appropriately, look at the source for libev (http://software.schmorp.de/pkg/libev.html http://software.schmorp.de/pkg/libev.html). In particular, multiline macros and token pasting are used to generate generic interface functions for the different watcher structs.
The C preprocessor is powerful, but brittle. If Scheme's macros are hygienic, C's are pathogenic, so be judicious.