Skip to content

Commit 7032789

Browse files
messensedavidhewitt
authored andcommitted
Add additional definitions for _PyImport_Frozen*
1 parent 1166a99 commit 7032789

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pyo3-ffi/src/cpython/import.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,10 @@ pub struct _frozen {
6565
extern "C" {
6666
#[cfg(not(PyPy))]
6767
pub static mut PyImport_FrozenModules: *const _frozen;
68+
#[cfg(all(not(PyPy), Py_3_11))]
69+
pub static mut _PyImport_FrozenBootstrap: *const _frozen;
70+
#[cfg(all(not(PyPy), Py_3_11))]
71+
pub static mut _PyImport_FrozenStdlib: *const _frozen;
72+
#[cfg(all(not(PyPy), Py_3_11))]
73+
pub static mut _PyImport_FrozenTest: *const _frozen;
6874
}

0 commit comments

Comments
 (0)