MCPcopy Create free account
hub / github.com/dgrunwald/rust-cpython / PyCFunction_New

Function PyCFunction_New

python27-sys/src/methodobject.rs:119–121  ·  view source on GitHub ↗
(ml: *mut PyMethodDef, slf: *mut PyObject)

Source from the content-addressed store, hash-verified

117
118#[inline(always)]
119pub unsafe fn PyCFunction_New(ml: *mut PyMethodDef, slf: *mut PyObject) -> *mut PyObject {
120 PyCFunction_NewEx(ml, slf, ptr::null_mut())
121}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected