r/linux • • Aug 16 '14

Yet another C object model

https://phab.enlightenment.org/phame/live/1//post/yet_another_c_object_model_but_better/
52 Upvotes

60 comments sorted by

View all comments

Show parent comment

2

u/zem Aug 17 '14

parent is absolutely right about macro scoping. the point is not to hide them, the point is to have better and more explicit control over what macros are active where, so that you never have to worry about someone's globally imported macro definitions conflicting with yours. the current mess with #undef is a clumsy hack.