(&self)
| 293 | |
| 294 | impl Py<HeapMethodDef> { |
| 295 | pub(crate) unsafe fn method(&self) -> &'static PyMethodDef { |
| 296 | unsafe { &*(&self.method as *const _) } |
| 297 | } |
| 298 | |
| 299 | pub fn build_function(&self, vm: &VirtualMachine) -> PyRef<PyNativeFunction> { |
| 300 | let mut function = unsafe { self.method() }.to_function(); |
no outgoing calls
no test coverage detected