Skip to content
Closed
Prev Previous commit
Next Next commit
bpo-32075: Fix Windows CI.
  • Loading branch information
AraHaan committed Nov 19, 2017
commit 297288a379f4727c152a8d5ecf605b7af43c5f55
3 changes: 1 addition & 2 deletions Include/zipimport.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ extern "C" {

/* zipimporter object definition and support */

typedef struct _zipimporter ZipImporter;

struct _zipimporter {
PyObject_HEAD
PyObject *archive; /* pathname of the Zip archive,
Expand All @@ -17,6 +15,7 @@ struct _zipimporter {
PyObject *files; /* dict with file info {path: toc_entry} */
};

typedef struct _zipimporter ZipImporter;
static PyTypeObject ZipImporter_Type;

#define ZipImporter_Check(op) PyObject_TypeCheck(op, &ZipImporter_Type)
Expand Down