Merge pull request #1765 from indygreg/frozen-public
ffi: make _frozen fields public
This commit is contained in:
commit
473cd5cc4f
|
@ -60,9 +60,9 @@ extern "C" {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
#[derive(Copy, Clone)]
|
#[derive(Copy, Clone)]
|
||||||
pub struct _frozen {
|
pub struct _frozen {
|
||||||
name: *const c_char,
|
pub name: *const c_char,
|
||||||
code: *const c_uchar,
|
pub code: *const c_uchar,
|
||||||
size: c_int,
|
pub size: c_int,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg_attr(windows, link(name = "pythonXY"))]
|
#[cfg_attr(windows, link(name = "pythonXY"))]
|
||||||
|
|
Loading…
Reference in New Issue