pub fn create_physical_extension_capsule<'py>( py: Python<'py>, codec: &FFI_PhysicalExtensionCodec, ) -> PyResult<Bound<'py, PyCapsule>>