where can I find the declaration of __TYPE_SIZE__ and __cplusplus?
Hello everyone
When I try to find the definition of size_t, I find this line in stddef.h (with Eclipse):
typedef __SIZE_TYPE__ size_t;
This confuses me, and I decide to find the decalaration of __SIZE_TYPE__ , I click on "Open Declaration" but find nothing.
However, when I expand macro it shows:
#define __SIZE_TYPE__ unsigned int
I searched the whole foldes which contains head files, but I couldn't find that file containing that line.
I open the Explore Macro Expansion window and trace its expansion, find there is only one step.
Again, I click on the 'Open Declaration' button which can find macro defined by me, but nothing found.
So, what happend? Where this expansion (#define __SIZE_TYPE__ unsigned int) from?
I searched the Internet, but found nothing.
There is a similar specifier I can't find: __cplusplus.
I am confused now. Please help!
Thanks!
Last edited by lesca; 10-23-2010 at 11:32 PM.
|