Confirmed users
1,345
edits
Nnethercote (talk | contribs) |
Nnethercote (talk | contribs) |
||
| Line 233: | Line 233: | ||
Include guards should be named by determining the fully-qualified include path, | Include guards should be named by determining the fully-qualified include path, | ||
then substituting _ for / and . in it | then substituting _ for '/' and '.' and '-' in it. For example, js/src/vm/Stack-inl.h's guard is vm_Stack_inl_h_, and js/public/Vector.h's guard is js_Vector_h (because its include path is js/Vector.h). | ||
example, | |||
== #include paths == | == #include paths == | ||