Skip to content

Commit

Permalink
Add additional definitions for _PyImport_Frozen*
Browse files Browse the repository at this point in the history
  • Loading branch information
messense authored and davidhewitt committed Dec 29, 2023
1 parent 1166a99 commit 7032789
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pyo3-ffi/src/cpython/import.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,10 @@ pub struct _frozen {
extern "C" {
#[cfg(not(PyPy))]
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;
}

0 comments on commit 7032789

Please sign in to comment.