News for hackers. Stuff that matters.
Re:Type-erased generic functions for C: A modest non-proposal by xiphias2 on Thursday October 03, 2024 @04:40AM (#41728594)
It's a cool idea, simple, I like it much more than the _Var and _Type stuff, but I'm not sure if it's 100% backwards compatible:

If I pass (int) and (void ) at different places, they will convert to void *, but won't be accepted in the new code.

Still, it would be great to have an implementation where it can be an optional error, and see what it finds.

There are no comments on this comment yet.