Update constants for py3.12, which fixes struct sizes

See 766d2518ae8384c6bd7f82727defeb86847ccf64
This commit is contained in:
Alex Gaynor 2023-08-08 07:53:04 -04:00
parent 28b8623585
commit 51fdf3afef
Failed to extract signature
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)))] #[cfg(all(Py_3_8, not(PyPy), not(Py_3_11)))]
opaque_struct!(_PyOpcache); opaque_struct!(_PyOpcache);
pub const _PY_MONITORING_UNGROUPED_EVENTS: usize = 14; pub const _PY_MONITORING_UNGROUPED_EVENTS: usize = 15;
pub const _PY_MONITORING_EVENTS: usize = 16; pub const _PY_MONITORING_EVENTS: usize = 17;
#[cfg(Py_3_12)] #[cfg(Py_3_12)]
#[repr(C)] #[repr(C)]