OLD | NEW |
1 {% from "macros.tmpl" import license %} | 1 {% from "macros.tmpl" import license %} |
2 {{ license() }} | 2 {{ license() }} |
3 | 3 |
4 #include "config.h" | 4 #include "config.h" |
5 | 5 |
6 #ifdef SKIP_STATIC_CONSTRUCTORS_ON_GCC | 6 #ifdef SKIP_STATIC_CONSTRUCTORS_ON_GCC |
7 #define {{namespace|to_macro_style}}_NAMES_HIDE_GLOBALS 1 | 7 #define {{namespace|to_macro_style}}_NAMES_HIDE_GLOBALS 1 |
8 #else | |
9 #define QNAME_DEFAULT_CONSTRUCTOR 1 | |
10 #endif | 8 #endif |
11 | 9 |
12 #include "{{namespace}}Names.h" | 10 #include "{{namespace}}Names.h" |
13 | 11 |
14 #include "wtf/StaticConstructors.h" | 12 #include "wtf/StaticConstructors.h" |
15 | 13 |
16 namespace WebCore { | 14 namespace WebCore { |
17 namespace {{namespace}}Names { | 15 namespace {{namespace}}Names { |
18 | 16 |
19 using namespace WebCore; | 17 using namespace WebCore; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 {% if use_namespace_for_attrs %} | 70 {% if use_namespace_for_attrs %} |
73 createQualifiedName((void*)&{{attr|symbol}}Attr, {{attr|symbol}}Impl, {{name
space_prefix}}NS); | 71 createQualifiedName((void*)&{{attr|symbol}}Attr, {{attr|symbol}}Impl, {{name
space_prefix}}NS); |
74 {% else %} | 72 {% else %} |
75 createQualifiedName((void*)&{{attr|symbol}}Attr, {{attr|symbol}}Impl); | 73 createQualifiedName((void*)&{{attr|symbol}}Attr, {{attr|symbol}}Impl); |
76 {% endif %} | 74 {% endif %} |
77 {% endfor %} | 75 {% endfor %} |
78 } | 76 } |
79 | 77 |
80 } // {{namespace}} | 78 } // {{namespace}} |
81 } // WebCore | 79 } // WebCore |
OLD | NEW |