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

Function Py_InitModule3

python27-sys/src/modsupport.rs:136–142  ·  view source on GitHub ↗
(
    name: *const c_char,
    methods: *mut PyMethodDef,
    doc: *const c_char,
)

Source from the content-addressed store, hash-verified

134
135#[inline(always)]
136pub unsafe fn Py_InitModule3(
137 name: *const c_char,
138 methods: *mut PyMethodDef,
139 doc: *const c_char,
140) -> *mut PyObject {
141 Py_InitModule4(name, methods, doc, ptr::null_mut(), PYTHON_API_VERSION)
142}

Callers

nothing calls this directly

Calls 1

Py_InitModule4Function · 0.85

Tested by

no test coverage detected