Might I add that another reason for the typedefs is to ensure that code breaks less. You can redefine HRSRC
if you had to, and none of the code with HRSRC
would break. But if you used void*
for resource handles instead and void*
got deprecated, you’d have to rewrite some code.
This was a really amazing write up! We need more of these.
1 Like
Agreed, I love these fanfiction kind of things.
This topic was automatically closed after 30 days. New replies are no longer allowed.