With Great Power Comes Great Responsibility

(oaktree) #21

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.

(Leader & Offsec Engineer) #23

Agreed, I love these fanfiction kind of things.


This topic was automatically closed after 30 days. New replies are no longer allowed.