Ctypes “expected LP_c_double instance instead of tuple”
I have a C extension I want to call from Python. The C extension takes a pointer to an array of pointers and three pointers to arrays of int64_t values. I have called this C extension using a wrapper written in C and here is how I do it in C (in relevant part):