Here is the structure i wrote
#define struct_macro(struct_type_name,struct_name) \
typedef struct struct_type_name \
{ \
int a; \
char b; \
} struct_name
this is throwing QAC error with '()' missing.
But with '()' there is compilation error.
#define struct_macro(struct_type_name,struct_name) \
typedef struct struct_type_name \
{ \
int a; \
char b; \
} (struct_name)
Is there any workaround??