C to Python via Ctypes – Wrapping Struct of Function Pointers to Static Functions
C to Python via Ctypes – Wrapping Struct of Function Pointers to Static Functions Question: I have structs in a C library that are like this. The function pointers in DataFn point to static functions. .h struct Data { int i; int *array; }; typedef struct { bool (* const fn1) (struct Data*, const char …