Index: Source/bindings/templates/interface.h |
diff --git a/Source/bindings/templates/interface.h b/Source/bindings/templates/interface.h |
index d29a30aa36789ee52faba89d6ce534261b03e2c6..23c1604f01d8e4b2b6d1fb29806a1ec1cf15651c 100644 |
--- a/Source/bindings/templates/interface.h |
+++ b/Source/bindings/templates/interface.h |
@@ -198,6 +198,7 @@ private: |
{% endif %} |
}; |
+{% if has_class_bindings %} |
{% if has_custom_to_v8 %} |
class {{cpp_class}}; |
v8::Handle<v8::Value> toV8({{cpp_class}}*, v8::Handle<v8::Object> creationContext, v8::Isolate*); |
@@ -309,6 +310,7 @@ inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, {{pass_ref_pt |
bool initialize{{cpp_class}}({{cpp_class}}Init&, const Dictionary&, ExceptionState&, const v8::FunctionCallbackInfo<v8::Value>& info, const String& = ""); |
{% endif %} |
+{% endif %}{# has_class_bindings #} |
} |
{% endfilter %} |
#endif // {{v8_class}}_h |