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

Function PyImport_ImportModuleEx

python3-sys/src/import.rs:51–58  ·  view source on GitHub ↗
(
    name: *const c_char,
    globals: *mut PyObject,
    locals: *mut PyObject,
    fromlist: *mut PyObject,
)

Source from the content-addressed store, hash-verified

49
50#[inline]
51pub unsafe fn PyImport_ImportModuleEx(
52 name: *const c_char,
53 globals: *mut PyObject,
54 locals: *mut PyObject,
55 fromlist: *mut PyObject,
56) -> *mut PyObject {
57 PyImport_ImportModuleLevel(name, globals, locals, fromlist, 0)
58}
59
60#[cfg_attr(windows, link(name = "pythonXY"))]
61extern "C" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected