zekeliu
07-19-2003, 09:20 PM
#define VTBL(iname) iname##Vtbl
What role does "##" play in the word of iname##Vtbl?
I don't know.I've never seen such usage.
another question is how to interpret the following sentence:
#define QINTERFACE(iname) \
struct _##iname {\
struct VTBL(iname) *pvt;\
};\
typedef struct VTBL(iname) VTBL(iname);\
struct VTBL(iname)
I am looking forward some helps.
Thank you in advance.
What role does "##" play in the word of iname##Vtbl?
I don't know.I've never seen such usage.
another question is how to interpret the following sentence:
#define QINTERFACE(iname) \
struct _##iname {\
struct VTBL(iname) *pvt;\
};\
typedef struct VTBL(iname) VTBL(iname);\
struct VTBL(iname)
I am looking forward some helps.
Thank you in advance.