Change the type for array of pointers to accept any object.

This commit is contained in:
Mike Auty
2018-04-11 09:25:47 +01:00
parent 1f733e7dc4
commit 3fc17f16bd
+1 -1
View File
@@ -29,7 +29,7 @@ def pointer_to_string(pointer: objects.Pointer,
return char.cast("string", max_length = count, errors = errors)
def array_of_pointers(array: objects.Array,
def array_of_pointers(array: interfaces.objects.ObjectInterface,
count: int,
subtype: templates.ObjectTemplate = None,
context: interfaces.context.ContextInterface = None) -> interfaces.objects.ObjectInterface: