if (mir_version >= X) { f = dlsym(NULL, "mir_fancy_new_function_thats_better"); f(); } else { // do it the old way }
And so you've written a client that is not dependent on the newer functionality but can utilize it.
if (mir_version >= X) new_function_ thats_better" );
{
f = dlsym(NULL, "mir_fancy_
f();
}
else
{
// do it the old way
}
And so you've written a client that is not dependent on the newer functionality but can utilize it.