| Index: Source/bindings/scripts/idl_types.py
|
| diff --git a/Source/bindings/scripts/idl_types.py b/Source/bindings/scripts/idl_types.py
|
| index e75123c55dc9bd7089e8dd0d0fab709267254d71..20038d341d9954859c45530c57863afb8d3efe06 100644
|
| --- a/Source/bindings/scripts/idl_types.py
|
| +++ b/Source/bindings/scripts/idl_types.py
|
| @@ -180,7 +180,7 @@ class IdlType(IdlTypeBase):
|
|
|
| @property
|
| def enum_values(self):
|
| - return IdlType.enums[self.name]
|
| + return IdlType.enums.get(self.name)
|
|
|
| @property
|
| def is_integer_type(self):
|
| @@ -345,6 +345,10 @@ class IdlArrayOrSequenceType(IdlTypeBase):
|
| def is_array_or_sequence_type(self):
|
| return True
|
|
|
| + @property
|
| + def enum_values(self):
|
| + return self.element_type.enum_values
|
| +
|
|
|
| class IdlArrayType(IdlArrayOrSequenceType):
|
| def __init__(self, element_type):
|
|
|