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

Function PyCFunction_New

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

Source from the content-addressed store, hash-verified

84
85#[inline(always)]
86pub unsafe fn PyCFunction_New(ml: *mut PyMethodDef, slf: *mut PyObject) -> *mut PyObject {
87 PyCFunction_NewEx(ml, slf, ptr::null_mut())
88}
89
90#[cfg_attr(windows, link(name = "pythonXY"))]
91extern "C" {

Callers 1

py_fn_implFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected