Hacker News new | ask | show | jobs
by variadix 218 days ago
You can create macro functions per generic function so something like Vector_New(int)(&v) expands to Vector_New_int(&v). It also looks less foreign (more like templates) than the G macro.