by emn13 · 1y ago · 0 comments
Then again, it's been years since I used this kind of C, so maybe my instincts are rusty here (no rust-pun intended!)
While it's annoying boilerplate for the Foo component to have to write, I don't think clients of Foo see much additional complexity. They can still write "return FOO_SUCCESS;", etc.