]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Use Py_uintptr_t for atomic pointers
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 22 Jan 2016 13:09:55 +0000 (14:09 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 22 Jan 2016 13:09:55 +0000 (14:09 +0100)
commitb02ef715a303ab09a39ef994d8f5acc4eb572376
treeda38e1ff9c638c0dec0bb682bc18b5b6b2d93d93
parentefb2413ce82acaa5dec43a8cb14aa7cdf2352fb1
Use Py_uintptr_t for atomic pointers

Issue #26161: Use Py_uintptr_t instead of void* for atomic pointers in
pyatomic.h. Use atomic_uintptr_t when <stdatomic.h> is used.

Using void* causes compilation warnings depending on which implementation of
atomic types is used.
Include/pyatomic.h
Python/ceval_gil.h
Python/pystate.c