Hacker News new | ask | show | jobs
by jeroenhd 293 days ago
Typing code from hell for sure, but how would you write an API with the same guarantees in C? Some kind of method specific struct that composes all other kinds of structs/unions to satisfy these requirements?