News for hackers. Stuff that matters.
Re:Modern C for C++ Peeps by rramadass on Saturday January 07, 2023 @10:41AM (#34289006)
There is nothing wrong with either practice. The GP is just stating their preferred style.

In fact it is good practice to use struct wrappers for void* pointers to get type safety. On the other hand, a typedef is just for programmer convenience and the compiler doesn't care.

There are no comments on this comment yet.