merge osx ffitypes and ffifunctions