Index: Source/bindings/scripts/CodeGeneratorV8.pm |
diff --git a/Source/bindings/scripts/CodeGeneratorV8.pm b/Source/bindings/scripts/CodeGeneratorV8.pm |
index 888692c040e9433ba389e0c191eda16c2fa12e19..9d3be35476b07f5341c6e0188df568d7713d1cd1 100644 |
--- a/Source/bindings/scripts/CodeGeneratorV8.pm |
+++ b/Source/bindings/scripts/CodeGeneratorV8.pm |
@@ -80,7 +80,7 @@ sub GenerateInterface |
my $interface = shift; |
# Start actual generation |
- if ($interface->extendedAttributes->{"Callback"}) { |
+ if ($interface->isCallback) { |
$object->GenerateCallbackHeader($interface); |
$object->GenerateCallbackImplementation($interface); |
} else { |