Hacker News new | past | comments | ask | show | jobs | submit login

Generic data structures work great if they use a void* since malloc returns a void*. Just malloc your structs, and suddenly a single set of 10 or so functions can work with all data types to build queues, lists, hash maps, etc



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: