Merge pull request #3622 from messense/pyimport-frozen-ffi

Add additional definitions for `_PyImport_Frozen*`
This commit is contained in:
David Hewitt 2023-12-04 05:09:56 +00:00 committed by GitHub
commit 38beac4fb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -65,4 +65,10 @@ pub struct _frozen {
extern "C" { extern "C" {
#[cfg(not(PyPy))] #[cfg(not(PyPy))]
pub static mut PyImport_FrozenModules: *const _frozen; pub static mut PyImport_FrozenModules: *const _frozen;
#[cfg(all(not(PyPy), Py_3_11))]
pub static mut _PyImport_FrozenBootstrap: *const _frozen;
#[cfg(all(not(PyPy), Py_3_11))]
pub static mut _PyImport_FrozenStdlib: *const _frozen;
#[cfg(all(not(PyPy), Py_3_11))]
pub static mut _PyImport_FrozenTest: *const _frozen;
} }