Hacker News new | past | comments | ask | show | jobs | submit login

> But then all macros go to headers, even private ones.

I don't understand what you mean by this; specifically, whats so special about macros? You can always define module-private macros in the .c file and not in the header like with any other symbol.

Yes, headers do mean that if modules A, B and C have shared private information then that information is not private (as it is shared via a header), but it doesn't mean that A cannot have private information that is visible only to A.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: