fixed name of initfunc field on _inittab
This commit is contained in:
parent
7e7e7ffa63
commit
e1c8bda4ee
|
@ -34,7 +34,7 @@ extern "C" {
|
||||||
#[derive(Copy, Clone)]
|
#[derive(Copy, Clone)]
|
||||||
pub struct _inittab {
|
pub struct _inittab {
|
||||||
pub name: *const c_char,
|
pub name: *const c_char,
|
||||||
pub initfun: Option<unsafe extern "C" fn() -> *mut PyObject>,
|
pub initfunc: Option<unsafe extern "C" fn() -> *mut PyObject>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg_attr(windows, link(name = "pythonXY"))]
|
#[cfg_attr(windows, link(name = "pythonXY"))]
|
||||||
|
|
Loading…
Reference in New Issue