Hi all,

I wanted to clarify, and discuss if needed, our styling of #define guards. My 
understanding is that we are now using Google's style in regards to #define 
guards (https://google.github.io/styleguide/cppguide.html#The__define_Guard). I 
believe this would mean for `dom/media/foo/bar.h` I would use a `#define 
DOM_MEDIA_FOO_BAR_H_` style guard.

This style appears to currently be limited in its usage, and I wanted to ensure 
that it is agreed upon before I:
- use it in files I'm touching going forward.
- remove the #define guard section of our coding style 
(https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style) 
to avoid confusion around which style should be used.


Bryce.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to