summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/types.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/types.py b/python/types.py
index c29f8d03..3be51744 100644
--- a/python/types.py
+++ b/python/types.py
@@ -2372,6 +2372,7 @@ class StructureType(Type):
def children(self) -> List[Type]:
return [member.type for member in self.members]
+
class EnumerationType(IntegerType):
def __init__(self, handle, platform: Optional['_platform.Platform'] = None, confidence: int = core.max_confidence):
assert handle is not None, "Attempted to create EnumerationType without handle"
@@ -2518,6 +2519,7 @@ class PointerType(Type):
def children(self) -> List[Type]:
return [self.target]
+
class ArrayType(Type):
@classmethod
def create(
@@ -2544,6 +2546,7 @@ class ArrayType(Type):
def children(self) -> List[Type]:
return [self.element_type]
+
class FunctionType(Type):
@classmethod
def create(