partial cffi