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

Function PyImport_ImportModuleEx

python27-sys/src/import.rs:28–35  ·  view source on GitHub ↗
(
    name: *mut c_char,
    globals: *mut PyObject,
    locals: *mut PyObject,
    fromlist: *mut PyObject,
)

Source from the content-addressed store, hash-verified

26
27#[inline]
28pub unsafe fn PyImport_ImportModuleEx(
29 name: *mut c_char,
30 globals: *mut PyObject,
31 locals: *mut PyObject,
32 fromlist: *mut PyObject,
33) -> *mut PyObject {
34 PyImport_ImportModuleLevel(name, globals, locals, fromlist, -1)
35}
36
37#[cfg_attr(windows, link(name = "pythonXY"))]
38extern "C" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected