gh-117511: Make PyMutex public in the non-limited API (#117731)

This commit is contained in:
Sam Gross 2024-06-20 11:29:08 -04:00 committed by GitHub
parent e8e151d471
commit 3af7263037
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 185 additions and 110 deletions

View file

@ -2372,7 +2372,7 @@ new_reference(PyObject *op)
#else
op->ob_tid = _Py_ThreadId();
op->_padding = 0;
op->ob_mutex = (struct _PyMutex){ 0 };
op->ob_mutex = (PyMutex){ 0 };
op->ob_gc_bits = 0;
op->ob_ref_local = 1;
op->ob_ref_shared = 0;