def __init__(self, integer_list=None): self.c_ilist = ctypes.pointer(libvect.struct_ilist()) if integer_list is not None: self.extend(integer_list)