Merge pull request #1765 from indygreg/frozen-public

ffi: make _frozen fields public
This commit is contained in:
David Hewitt 2021-08-08 23:09:00 +01:00 committed by GitHub
commit 473cd5cc4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"))]