mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-116941: Fix pyatomic_std.h syntax errors (#116967)
This commit is contained in:
parent
ecb4a2b711
commit
165cb4578c
1 changed files with 2 additions and 0 deletions
|
|
@ -916,6 +916,7 @@ _Py_atomic_load_uint32_acquire(const uint32_t *obj)
|
|||
{
|
||||
_Py_USING_STD;
|
||||
return atomic_load_explicit((const _Atomic(uint32_t)*)obj,
|
||||
memory_order_acquire);
|
||||
}
|
||||
|
||||
static inline Py_ssize_t
|
||||
|
|
@ -923,6 +924,7 @@ _Py_atomic_load_ssize_acquire(const Py_ssize_t *obj)
|
|||
{
|
||||
_Py_USING_STD;
|
||||
return atomic_load_explicit((const _Atomic(Py_ssize_t)*)obj,
|
||||
memory_order_acquire);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue