def __init__(self, space, ctptr, length, arraysize, extra): assert isinstance(ctptr, W_CTypePointer) W_CTypePtrOrArray.__init__(self, space, arraysize, extra, 0, ctptr.ctitem) self.length = length self.ctptr = ctptr
def __init__(self, space, ctptr, length, arraysize, extra): W_CTypePtrOrArray.__init__(self, space, arraysize, extra, 0, ctptr.ctitem) self.length = length self.ctptr = ctptr
def __init__(self, space, ctptr, length, arraysize, extra): assert isinstance(ctptr, W_CTypePointer) W_CTypePtrOrArray.__init__(self, space, arraysize, extra, 0, ctptr.ctitem) self.length = length # -1 if no length is given, e.g. 'int[]' self.ctptr = ctptr