We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
#define INTMAX_C(x) __ESCAPE__(x ## ll)
This Macro was copied from the ARM\RV\INC\stdint.h header file. My question is the function of __ESCAPE__. It appears to be a predefined macro to implement an escape sequence. I have be unable to find the macro or any info. Is this a standard C macro? Did I miss something in my C classes a 100 years ago? I have no problem. I would just like to know what I don't know. Bradford
No, it isn't a standard macro. And it isn't a keyword. Keywords are normally written like:
__cdecl __asm __asm__ ...
Symbols written __ESCAPE__ are normally defines. The dual underscores are used by compilers and some OS include files, to make sure that the defines doesn't clashes with user-defined symbols. Since __ESCAPE__ isn't a standard define, you might find it in include files supplied with one compiler, while not finding any reference to it in include files supplied with another compiler.