AnsweredAssumed Answered

preprocessor directives in macros

Question asked by ROB LUND on Jun 4, 2010
Latest reply on Jun 7, 2010 by bigmac

Hey, everyone. I'm reaching my limit of C language understanding with this question. I've got some sample code written by Freescale, as part of one of their demo boards, the DEMO9S08AW60E. There are the following macros in one of the header files:


    #define _DEBUGT(a)   Debugt(a)    #define _DEBUGI(a)   Debugi(a)    #define _DEBUGC(a)   Debugc(a)    #define _DEBUGNL     Debugnl()


My question is, what is the point of making such a subsitution of function names for what looks like preprocessor directive names?