Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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)]
100
pub 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_TRASHCAN
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected