Python Turn Array Of Pointers To Structures