Hacker News new | ask | show | jobs
by efficax 1898 days ago
This is in fact a pretty common pattern in production code.

Here's an entire suite of type safe generic data structures in C: https://github.com/attractivechaos/klib