How is this different from a regular #define that's just on it's own? Does containing the #define within the struct definitions means that you can't assign the #define constant to other things besides the struct's members?
I'm talking about something like this:
As opposed toCode:typedef struct STRUCT_NAME { // // some struct member fields. // int a; #define CONSTANT_A 0 . . . // // maybe some more members. // };
Code:#define CONSTANT_A 0 typedel struct STRUCT_NAME { . . . };