merge shared.ffitypes into ffitypes