Skip to content

Commit

Permalink
pythongh-116941: Fix pyatomic_std.h syntax errors (python#116967)
Browse files Browse the repository at this point in the history
  • Loading branch information
colesbury authored and adorilson committed Mar 25, 2024
1 parent f7e5df1 commit d2cc307
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Include/cpython/pyatomic_std.h
Original file line number Diff line number Diff line change
Expand Up @@ -916,13 +916,15 @@ _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
_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);
}


Expand Down

0 comments on commit d2cc307

Please sign in to comment.