Implement `Call a foreign-language function`.