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

Function Py_CompileStringFlags

python3-sys/src/pythonrun.rs:209–216  ·  view source on GitHub ↗
(
    string: *const c_char,
    p: *const c_char,
    s: c_int,
    f: *mut PyCompilerFlags,
)

Source from the content-addressed store, hash-verified

207#[cfg(not(Py_LIMITED_API))]
208#[inline]
209pub unsafe fn Py_CompileStringFlags(
210 string: *const c_char,
211 p: *const c_char,
212 s: c_int,
213 f: *mut PyCompilerFlags,
214) -> *mut PyObject {
215 Py_CompileStringExFlags(string, p, s, f, -1)
216}
217#[cfg_attr(windows, link(name = "pythonXY"))]
218extern "C" {
219 #[cfg(not(Py_LIMITED_API))]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected