Hacker News new | ask | show | jobs
by bitwize 1898 days ago
Macros of this sort are indeed used to define stacks, queues, deques, and other generic data structures in the NetBSD (and presumably other BSDs) source code. So the pattern is used in real software projects.
1 comments

Also OpenSSL