Fix ushort compiler errors in Windows

ushort is not supported
This commit is contained in:
Antonio Vazquez
2020-02-20 10:28:15 +01:00
parent 0e48bb26af
commit e2722aec6b

View File

@@ -24,6 +24,8 @@
extern PyTypeObject matrix_Type;
extern PyTypeObject matrix_access_Type;
typedef unsigned short ushort;
#define MatrixObject_Check(v) PyObject_TypeCheck((v), &matrix_Type)
#define MatrixObject_CheckExact(v) (Py_TYPE(v) == &matrix_Type)