> Sometimes I even wonder why typedef exists in C.  Feels like I could
> accomplish the same with a #define

For `typedef struct foo Something', yes, you could (well, except for
their different scopes, and possibly some other corner cases).

For `typedef void (*callback_t)(void *, status_t, int)', not so much.

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML                mo...@rodents-montreal.org
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

Reply via email to