Hacker News new | ask | show | jobs
by pistoleer 609 days ago
Use a generic function signature that takes in a `void*`. Inside the specialized function bodies, cast the void* to an `actual_type*`, then dereference.