Added inner_ext_local (and supporting functions) to funcimpl.h