4 ms·
As an aside, I think nearly any time you want a typedef, it's worth wrapping it in a struct. typedef struct { int value; } thing_t; That way the compiler
by dllthomas 11y ago
As an aside, I think nearly any time you want a typedef, it's worth wrapping it in a struct.
typedef struct { int value; } thing_t;
That way the compiler catches it when you try to pass the wrong thing (at least, more of the time).