Index: Source/bindings/templates/interface_base.cpp |
diff --git a/Source/bindings/templates/interface_base.cpp b/Source/bindings/templates/interface_base.cpp |
index 33f8c74ff24183e8084834b7f3ea9ec160f2a19f..23808d5b1d3990b50672f1160cd7d0ef7b60493a 100644 |
--- a/Source/bindings/templates/interface_base.cpp |
+++ b/Source/bindings/templates/interface_base.cpp |
@@ -60,7 +60,7 @@ template <typename T> void V8_USE(T) { } |
{% from 'attributes.cpp' import attribute_getter, attribute_getter_callback, |
attribute_setter, attribute_setter_callback |
with context %} |
-{% for attribute in attributes %} |
+{% for attribute in attributes if not attribute.is_constructor %} |
{% for world_suffix in attribute.world_suffixes %} |
{% if not attribute.has_custom_getter %} |
{{attribute_getter(attribute, world_suffix)}} |
@@ -74,6 +74,7 @@ template <typename T> void V8_USE(T) { } |
{% endif %} |
{% endfor %} |
{% endfor %} |
+{% block constructor_getter %}{% endblock %} |
{% block replaceable_attribute_setter_and_callback %}{% endblock %} |
} // namespace {{cpp_class_name}}V8Internal |