OLD | NEW |
(Empty) | |
| 1 {% extends 'interface_base.cpp' %} |
| 2 |
| 3 {##############################################################################} |
| 4 {% block partial_interface %} |
| 5 void {{actual_v8_class}}::initialize() |
| 6 { |
| 7 // Should be invoked from initModules. |
| 8 {{v8_class}}::updateWrapperTypeInfo( |
| 9 &{{actual_v8_class}}::install{{v8_class}}Template, |
| 10 &{{actual_v8_class}}::installConditionallyEnabledMethods); |
| 11 {% for method in methods %} |
| 12 {% if method.overloads and method.overloads.has_partial_overloads %} |
| 13 {{v8_class}}::register{{method.name | blink_capitalize}}MethodForPartialInte
rface(&{{actual_cpp_class}}V8Internal::{{method.name}}Method); |
| 14 {% endif %} |
| 15 {% endfor %} |
| 16 } |
| 17 |
| 18 {% endblock %} |
OLD | NEW |