I have a question. Say I have this code:
int myfunc(int arg-a, int arg-b);
int mywrapperfunc(obj a, obj b);
mywrapperfunc is supposed to wrap myfunc. mywrapperfunc discards the first argument and takes the second, which is an array. I then uses the array items as parameters. But say I don't know how many parameters myfunc takes, nor do I know how many items are in the array-type object(b). How would I programmatically call myfunc with the correct number of args? The number of args handed over would be the same as the number of items in the array-type object. EDIT: arg-a and arg-b are supposed to come from the array-type object. I split the object into the args. EDIT: I'm trying to wrap Cython with some sense involved, hiding most background jobs.