Merge pull request #9 from ogasser/master

PyModuleDef.m_reload was removed in Python 3.5
This commit is contained in:
montag451 committed 2015-12-11 12:34:14 +01:00
commit 1a2f2f4b98
1 file changed
+4
+4
View File
@@ -757,7 +757,11 @@ static struct PyModuleDef pytun_module =
.m_doc = NULL,
.m_size = -1,
.m_methods = NULL,
#if PY_MINOR_VERSION <= 4
.m_reload = NULL,
#else
.m_slots = NULL,
#endif
.m_traverse = NULL,
.m_clear = NULL,
.m_free = NULL