Merge pull request #2431 from alex/patch-1

fixed name of initfunc field on _inittab
This commit is contained in:
David Hewitt 2022-06-05 07:19:26 +01:00 committed by GitHub
commit f8d58f57c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ extern "C" {
#[derive(Copy, Clone)]
pub struct _inittab {
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"))]