ffi: make _frozen fields public

PyOxidizer needs to access these fields.
This commit is contained in:
Gregory Szorc 2021-08-08 08:52:08 -07:00
parent e9cccd74bf
commit 9a9362909f
1 changed files with 3 additions and 3 deletions

View File

@ -60,9 +60,9 @@ extern "C" {
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _frozen {
name: *const c_char,
code: *const c_uchar,
size: c_int,
pub name: *const c_char,
pub code: *const c_uchar,
pub size: c_int,
}
#[cfg_attr(windows, link(name = "pythonXY"))]