This works by having the inline wrapper calling a second function which uses renaming to output the correct function name.