Index: Source/bindings/scripts/idl_definitions.py |
diff --git a/Source/bindings/scripts/idl_definitions.py b/Source/bindings/scripts/idl_definitions.py |
index 9ed52133763880d1dfd0a6df4546551579d168af..50664ba12ef7addd5cb3cbc69484e0629231ba3d 100644 |
--- a/Source/bindings/scripts/idl_definitions.py |
+++ b/Source/bindings/scripts/idl_definitions.py |
@@ -455,6 +455,7 @@ class IdlOperation(TypedObject): |
self.arguments = [] |
self.extended_attributes = {} |
self.specials = [] |
+ self.is_constructor = False |
if not node: |
self.is_static = False |
@@ -509,6 +510,7 @@ class IdlOperation(TypedObject): |
constructor = cls() |
constructor.name = name |
constructor.arguments = arguments_node_to_arguments(arguments_node) |
+ constructor.is_constructor = True |
return constructor |
def resolve_typedefs(self, typedefs): |