How would you wrap a complicated C struct (pointers to functions, ** pointers)?
Hi, I'm quite new to PyBindGen, and maybe I'm crazy but I'm trying to wrap parts of ffmpeg.
There are a few quite complicated structs which I'm not certain how to wrap:
typedef struct AVOutputFormat {
const char *name;
enum CodecID audio_codec;
int (*write_
int (*write_
int (*set_parameter
int (*interleave_
const struct AVCodecTag **codec_tag;
/* private fields */
struct AVOutputFormat *next;
} AVOutputFormat;
How would you wrap this struct?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- PyBindGen Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Billy Chang for more information if necessary.