Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc