factored out commonalities between ffi_type_clone and ffi_type_struct_create
factored out commonalities between ffi_type_clone and ffi_type_struct_create

tov/libffi-rs,tov/libffi-rs,tov/libffi-rs,tov/libffi-rs,tov/libffi-rs,tov/libffi-rs