As mentioned in kbw's thread. Create a struct with all of the inputs/ouputs. Then pass that in.
You mentioned in the other thread that you want to pass arrays, arrays are really just pointers, so the struct is really only hold an address to the array. You could store the size of the array as another variable in that struct so you know the bounds of your array.