conditionally include Python3.6 items
This commit is contained in:
parent
6c25a753b8
commit
5cc6dc74d4
|
@ -1,6 +1,7 @@
|
|||
use std::os::raw::{c_void, c_char, c_int};
|
||||
use ffi3::object::PyObject;
|
||||
use ffi3::pystate::PyThreadState;
|
||||
#[cfg(Py_3_6)]
|
||||
use ffi3::code::FreeFunc;
|
||||
|
||||
#[cfg_attr(windows, link(name="pythonXY"))] extern "C" {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
use std::os::raw::{c_int, c_long};
|
||||
use ffi3::object::PyObject;
|
||||
use ffi3::moduleobject::PyModuleDef;
|
||||
#[cfg(Py_3_6)]
|
||||
use ffi3::ceval::_PyFrameEvalFunction;
|
||||
|
||||
#[cfg(Py_3_6)]
|
||||
|
|
Loading…
Reference in New Issue