J
Java and Swing
I have a C function which takes an array of long values..
I understand that I can pass a tuple to a C wrapper function and in the
C wrapper function have..
int ok = PyArg_ParseTuple(args, "s(ll)", &a, &b, &c);
...that's great if my tuple only contained two longs..but what if it
contained 50
would I have to do..
int ok = PyArg_ParseTuple(args, "s(llllllllllllllllll....ll)", &a, &b,
&c, &d...) ??
how can I handle this?
I understand that I can pass a tuple to a C wrapper function and in the
C wrapper function have..
int ok = PyArg_ParseTuple(args, "s(ll)", &a, &b, &c);
...that's great if my tuple only contained two longs..but what if it
contained 50
would I have to do..
int ok = PyArg_ParseTuple(args, "s(llllllllllllllllll....ll)", &a, &b,
&c, &d...) ??
how can I handle this?