As far as I know it would be practicaly impossible being as anyhting that is
#define'd in the code is a macro and thus it is replaced with the approprite
text during preprocessing.
Thus...
#define GET_NAME(ch) (ch)->name /* I know this isnt the actual define*/
used in the code as....
{
...
foo = GET_NAME(player);
...
}
would actualy look like
{
...
foo = (player)->name;
...
}
When it reached the compiler because the preprocessor handles all macro
replacement then sends the rest on to the compiler.
--
Matthew Churilla
Duquesne University CCIT User Consultant / Student of Computer Science
E-Mail Addresses
-------------------------------------------------------------------------------
churilla@noether.mathcs.duq.edu Math\Computer Science Account
churilla@next.duq.edu CCIT Next Account
churill5624@duq3.cc.duq.edu Duquesne University E-Mail Account
-------------------------------------------------------------------------------
"The difference between the right word and the almost right word is the
difference between lightning and a lightning bug."
-Mark Twain
-------------------------------------------------------------------------------
This archive was generated by hypermail 2b30 : 12/07/00 PST