mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
replace Py_(u)intptr_t with the c99 standard types
This commit is contained in:
parent
3c397e4c39
commit
ca47063998
21 changed files with 86 additions and 86 deletions
|
@ -6,7 +6,7 @@
|
|||
#define GET_TSTATE() \
|
||||
((PyThreadState*)_Py_atomic_load_relaxed(&_PyThreadState_Current))
|
||||
#define SET_TSTATE(value) \
|
||||
_Py_atomic_store_relaxed(&_PyThreadState_Current, (Py_uintptr_t)(value))
|
||||
_Py_atomic_store_relaxed(&_PyThreadState_Current, (uintptr_t)(value))
|
||||
#define GET_INTERP_STATE() \
|
||||
(GET_TSTATE()->interp)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue