OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 {%- set header_guard = "%s_INTERNAL_H_"| | 5 {%- set header_guard = "%s_INTERNAL_H_"| |
6 format(module.path|upper|replace("/","_")|replace(".","_")) %} | 6 format(module.path|upper|replace("/","_")|replace(".","_")) %} |
7 | 7 |
8 #ifndef {{header_guard}} | 8 #ifndef {{header_guard}} |
9 #define {{header_guard}} | 9 #define {{header_guard}} |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 {%- endfor %} | 32 {%- endfor %} |
33 | 33 |
34 #pragma pack(pop) | 34 #pragma pack(pop) |
35 | 35 |
36 } // namespace internal | 36 } // namespace internal |
37 {%- if namespace %} | 37 {%- if namespace %} |
38 } // namespace {{namespace}} | 38 } // namespace {{namespace}} |
39 {%- endif %} | 39 {%- endif %} |
40 | 40 |
41 #endif // {{header_guard}} | 41 #endif // {{header_guard}} |
OLD | NEW |