STATUS: stable Implementing optional argument lists.
This feature can be used to conveniently pass arguments to functions. This makes sense for generic functions that take one or more function pointers requiring different arguements each.
The syntax is as follows:
double *mydata = read_data(); OptArgList *args = optarglist( "bottom_frequency=double,num_trials=int,data=double*", 0.5, 10, mydata ); function_taking_optargs( args ); free_optarglist( args ) // does not free any mydata