Merge pull request #1767 from indygreg/packagecontext
ffi: define _Py_PackageContext
This commit is contained in:
commit
3de5591534
|
@ -146,4 +146,8 @@ pub unsafe fn PyModule_FromDefAndSpec(def: *mut PyModuleDef, spec: *mut PyObject
|
|||
)
|
||||
}
|
||||
|
||||
// skipped non-limited _Py_PackageContext
|
||||
#[cfg(not(Py_LIMITED_API))]
|
||||
#[cfg_attr(windows, link(name = "pythonXY"))]
|
||||
extern "C" {
|
||||
pub static mut _Py_PackageContext: *const c_char;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue