(search_function: PyObjectRef, vm: &VirtualMachine)
| 24 | |
| 25 | #[pyfunction] |
| 26 | fn unregister(search_function: PyObjectRef, vm: &VirtualMachine) -> PyResult<()> { |
| 27 | vm.state.codec_registry.unregister(search_function) |
| 28 | } |
| 29 | |
| 30 | #[pyfunction] |
| 31 | fn lookup(encoding: PyUtf8StrRef, vm: &VirtualMachine) -> PyResult { |
nothing calls this directly
no test coverage detected