OLD | NEW |
---|---|
1 {% include 'copyright_block.txt' %} | 1 {% include 'copyright_block.txt' %} |
2 #ifndef {{macro_guard}} | 2 #ifndef {{macro_guard}} |
3 #define {{macro_guard}} | 3 #define {{macro_guard}} |
4 | 4 |
5 {% for filename in header_includes %} | 5 {% for filename in header_includes %} |
6 #include "{{filename}}" | 6 #include "{{filename}}" |
7 {% endfor %} | 7 {% endfor %} |
8 | 8 |
9 namespace blink { | 9 namespace blink { |
10 | 10 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
82 {# 1. null or undefined #} | 82 {# 1. null or undefined #} |
83 if (isUndefinedOrNull(v8Value)) | 83 if (isUndefinedOrNull(v8Value)) |
84 return; | 84 return; |
85 V8{{cpp_type}}::toImpl(isolate, v8Value, impl, exceptionState); | 85 V8{{cpp_type}}::toImpl(isolate, v8Value, impl, exceptionState); |
86 } | 86 } |
87 }; | 87 }; |
88 | 88 |
89 {% endfor %} | 89 {% endfor %} |
90 } // namespace blink | 90 } // namespace blink |
91 | 91 |
92 {% for container in containers %} | |
93 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::{{container.cpp_class}}); | |
haraken
2015/05/01 14:58:13
bashi-san@: Is it correct to set canInitializeWith
Jens Widell
2015/05/04 14:02:18
I'm guessing it would work in practice, but it's t
bashi
2015/05/07 23:59:23
Thanks Jens for detailed explanation! Given above,
| |
94 {% endfor %} | |
95 | |
92 #endif // {{macro_guard}} | 96 #endif // {{macro_guard}} |
OLD | NEW |