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

Function PyThreadState_GET

python27-sys/src/pystate.rs:100–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98#[cfg(py_sys_config = "Py_DEBUG")]
99#[inline(always)]
100pub unsafe fn PyThreadState_GET() -> *mut PyThreadState {
101 PyThreadState_Get()
102}
103
104#[cfg(not(py_sys_config = "Py_DEBUG"))]
105#[inline(always)]

Callers 1

Py_TRASHCANFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected