how to wrap a c struct (array or even struct array member)
Asked by
hangl
i want to wrap a such function to python :such as
typedef struct {
int a;
unsinged char b;
} InnerSt;
typedef struct {
int c;
InnerSt aist[10];
}OutterST;
void TestStruct(OutterST * pst)
{
----
}
I tried but no idea how to do? does pybindgen can do such job? what should i do ? thanks very much !
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 hangl for more information if necessary.
To post a message you must log in.