(no title)
smh | 14 years ago
I'd suggest doing this:
typedef struct {
int a;
int b;
/* private */
int c;
int d;
} STYPE;
Sure, other programmers are free to ignore the comment and use the private fields anyway, but that suggests a bigger problem that can't be fixed with a clever pre-processor hack.
No comments yet.