Merge pull request #3372 from alex/alex-patch-1

Update constants for py3.12, which fixes struct sizes
This commit is contained in:
David Hewitt 2023-08-09 06:13:03 +00:00 committed by GitHub
commit bab7ff06c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,8 @@ use std::ptr::addr_of_mut;
#[cfg(all(Py_3_8, not(PyPy), not(Py_3_11)))]
opaque_struct!(_PyOpcache);
pub const _PY_MONITORING_UNGROUPED_EVENTS: usize = 14;
pub const _PY_MONITORING_EVENTS: usize = 16;
pub const _PY_MONITORING_UNGROUPED_EVENTS: usize = 15;
pub const _PY_MONITORING_EVENTS: usize = 17;
#[cfg(Py_3_12)]
#[repr(C)]