Implementing a sort of generic, sort of type-safe array in C | Hacker News Reader