anonymous enums are not handled correctly by cython. you have to add an identifier to /usr/include/libmtp.h for the corresponding enum (line 82: typedef enum LIBMTP_filetype_e {). a bugreport for cython is already opened.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
anonymous enums are not handled correctly by cython. you have to add an identifier to /usr/include/libmtp.h for the corresponding enum (line 82: typedef enum LIBMTP_filetype_e {). a bugreport for cython is already opened.