A simple nif to pass a list of ints to a C function which returns a record of parameters.