conditionally include Python3.6 items

This commit is contained in:
Ethan Smith 2018-03-01 14:46:27 -08:00
parent 6c25a753b8
commit 5cc6dc74d4
No known key found for this signature in database
GPG Key ID: 26E3CB86E08E10B2
2 changed files with 2 additions and 0 deletions

View File

@ -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" {

View File

@ -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)]