Substitution example

Suppose you have written a C library which has many users
One day you decide that the function
void superLibFunc(char* method, float x)
would be more natural to use if its arguments were swapped:
void superLibFunc(float x, char* method)
All users of your library must then update their application codes - can you automate?

previousnexttable of contents