Category:Macros

From Valve Developer Community
Revision as of 08:30, 4 April 2008 by TomEdwards (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Macros are #defines that return code instead of values, and which can accept values. At compile, any macros you use are replaced with the #defined code.

They are generally used for oft-repeated tasks that would otherwise require a lot of typing.

Pages in category "Macros"

The following 7 pages are in this category, out of 7 total.