| OLD | NEW |
| 1 {% extends 'interface_base.cpp' %} | 1 {% extends 'interface_base.cpp' %} |
| 2 | 2 |
| 3 | 3 |
| 4 {##############################################################################} | 4 {##############################################################################} |
| 5 {% macro attribute_configuration(attribute) %} | 5 {% macro attribute_configuration(attribute) %} |
| 6 {% set getter_callback = | 6 {% set getter_callback = |
| 7 '%sV8Internal::%sAttributeGetterCallback' % | 7 '%sV8Internal::%sAttributeGetterCallback' % |
| 8 (interface_name, attribute.name) | 8 (interface_name, attribute.name) |
| 9 if not attribute.constructor_type else | 9 if not attribute.constructor_type else |
| 10 '{0}V8Internal::{0}ConstructorGetter'.format(interface_name) %} | 10 '{0}V8Internal::{0}ConstructorGetter'.format(interface_name) %} |
| (...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 'WrapperConfiguration::Independent' %} | 456 'WrapperConfiguration::Independent' %} |
| 457 V8DOMWrapper::associateObjectWithWrapper<{{v8_class_name}}>(impl, &wrapperTy
peInfo, wrapper, isolate, {{wrapper_configuration}}); | 457 V8DOMWrapper::associateObjectWithWrapper<{{v8_class_name}}>(impl, &wrapperTy
peInfo, wrapper, isolate, {{wrapper_configuration}}); |
| 458 return wrapper; | 458 return wrapper; |
| 459 } | 459 } |
| 460 | 460 |
| 461 void {{v8_class_name}}::derefObject(void* object) | 461 void {{v8_class_name}}::derefObject(void* object) |
| 462 { | 462 { |
| 463 fromInternalPointer(object)->deref(); | 463 fromInternalPointer(object)->deref(); |
| 464 } | 464 } |
| 465 | 465 |
| 466 template<> |
| 467 v8::Handle<v8::Value> toV8NoInline({{cpp_class_name}}* impl, v8::Handle<v8::Obje
ct> creationContext, v8::Isolate* isolate) |
| 468 { |
| 469 return toV8(impl, creationContext, isolate); |
| 470 } |
| 471 |
| 466 {% endblock %} | 472 {% endblock %} |
| OLD | NEW |