Construct a numpy array from a C structure using ctypes. ValueError: '<P' is not a valid PEP 3118 buffer format string

前端 未结 0 1087
北荒
北荒 2020-12-11 04:45

Consider the following code:

by_ref.h

typedef struct OutPutImage{
    double *** output_img;
    int nb_images;
    int nb_cols;
    int nb_rows;
}opi_         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题