Refactoring: Change #define macros into inline functions.
This adds type safety and makes the symbols available to a debugger, which can help with debugging. Doing this required reorganizing some of the code so that dependencies are listed first.
Authored by: david_costanzo 5 days ago
Parent: [r6118]
Child: [r6120]