Merge pull request #3622 from messense/pyimport-frozen-ffi
Add additional definitions for `_PyImport_Frozen*`
This commit is contained in:
commit
38beac4fb2
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue