Cleanup: warnings building with Python 3.8
This commit is contained in:
@@ -166,10 +166,10 @@ static PyTypeObject bmesh_op_Type = {
|
|||||||
sizeof(BPy_BMeshOpFunc), /* tp_basicsize */
|
sizeof(BPy_BMeshOpFunc), /* tp_basicsize */
|
||||||
0, /* tp_itemsize */
|
0, /* tp_itemsize */
|
||||||
/* methods */
|
/* methods */
|
||||||
NULL, /* tp_dealloc */
|
NULL, /* tp_dealloc */
|
||||||
NULL, /* printfunc tp_print; */
|
(printfunc)NULL, /* printfunc tp_print; */
|
||||||
NULL, /* getattrfunc tp_getattr; */
|
NULL, /* getattrfunc tp_getattr; */
|
||||||
NULL, /* setattrfunc tp_setattr; */
|
NULL, /* setattrfunc tp_setattr; */
|
||||||
NULL,
|
NULL,
|
||||||
/* tp_compare */ /* DEPRECATED in python 3.0! */
|
/* tp_compare */ /* DEPRECATED in python 3.0! */
|
||||||
(reprfunc)bpy_bmesh_op_repr, /* tp_repr */
|
(reprfunc)bpy_bmesh_op_repr, /* tp_repr */
|
||||||
@@ -282,10 +282,10 @@ static PyTypeObject bmesh_ops_fakemod_Type = {
|
|||||||
0, /* tp_basicsize */
|
0, /* tp_basicsize */
|
||||||
0, /* tp_itemsize */
|
0, /* tp_itemsize */
|
||||||
/* methods */
|
/* methods */
|
||||||
NULL, /* tp_dealloc */
|
NULL, /* tp_dealloc */
|
||||||
NULL, /* printfunc tp_print; */
|
(printfunc)NULL, /* printfunc tp_print; */
|
||||||
NULL, /* getattrfunc tp_getattr; */
|
NULL, /* getattrfunc tp_getattr; */
|
||||||
NULL, /* setattrfunc tp_setattr; */
|
NULL, /* setattrfunc tp_setattr; */
|
||||||
NULL,
|
NULL,
|
||||||
/* tp_compare */ /* DEPRECATED in python 3.0! */
|
/* tp_compare */ /* DEPRECATED in python 3.0! */
|
||||||
NULL, /* tp_repr */
|
NULL, /* tp_repr */
|
||||||
|
|||||||
@@ -1172,7 +1172,7 @@ PyTypeObject BPy_IDGroup_Type = {
|
|||||||
/* Methods to implement standard operations */
|
/* Methods to implement standard operations */
|
||||||
|
|
||||||
NULL, /* destructor tp_dealloc; */
|
NULL, /* destructor tp_dealloc; */
|
||||||
NULL, /* printfunc tp_print; */
|
(printfunc)NULL, /* printfunc tp_print; */
|
||||||
NULL, /* getattrfunc tp_getattr; */
|
NULL, /* getattrfunc tp_getattr; */
|
||||||
NULL, /* setattrfunc tp_setattr; */
|
NULL, /* setattrfunc tp_setattr; */
|
||||||
NULL, /* cmpfunc tp_compare; */
|
NULL, /* cmpfunc tp_compare; */
|
||||||
@@ -1577,7 +1577,7 @@ PyTypeObject BPy_IDArray_Type = {
|
|||||||
/* Methods to implement standard operations */
|
/* Methods to implement standard operations */
|
||||||
|
|
||||||
NULL, /* destructor tp_dealloc; */
|
NULL, /* destructor tp_dealloc; */
|
||||||
NULL, /* printfunc tp_print; */
|
(printfunc)NULL, /* printfunc tp_print; */
|
||||||
NULL, /* getattrfunc tp_getattr; */
|
NULL, /* getattrfunc tp_getattr; */
|
||||||
NULL, /* setattrfunc tp_setattr; */
|
NULL, /* setattrfunc tp_setattr; */
|
||||||
NULL, /* cmpfunc tp_compare; */
|
NULL, /* cmpfunc tp_compare; */
|
||||||
@@ -1692,7 +1692,7 @@ PyTypeObject BPy_IDGroup_Iter_Type = {
|
|||||||
/* Methods to implement standard operations */
|
/* Methods to implement standard operations */
|
||||||
|
|
||||||
NULL, /* destructor tp_dealloc; */
|
NULL, /* destructor tp_dealloc; */
|
||||||
NULL, /* printfunc tp_print; */
|
(printfunc)NULL, /* printfunc tp_print; */
|
||||||
NULL, /* getattrfunc tp_getattr; */
|
NULL, /* getattrfunc tp_getattr; */
|
||||||
NULL, /* setattrfunc tp_setattr; */
|
NULL, /* setattrfunc tp_setattr; */
|
||||||
NULL, /* cmpfunc tp_compare; */
|
NULL, /* cmpfunc tp_compare; */
|
||||||
|
|||||||
@@ -348,7 +348,7 @@ PyTypeObject Py_ImBuf_Type = {
|
|||||||
/* Methods to implement standard operations */
|
/* Methods to implement standard operations */
|
||||||
|
|
||||||
(destructor)py_imbuf_dealloc, /* destructor tp_dealloc; */
|
(destructor)py_imbuf_dealloc, /* destructor tp_dealloc; */
|
||||||
NULL, /* printfunc tp_print; */
|
(printfunc)NULL, /* printfunc tp_print; */
|
||||||
NULL, /* getattrfunc tp_getattr; */
|
NULL, /* getattrfunc tp_getattr; */
|
||||||
NULL, /* setattrfunc tp_setattr; */
|
NULL, /* setattrfunc tp_setattr; */
|
||||||
NULL, /* cmpfunc tp_compare; */
|
NULL, /* cmpfunc tp_compare; */
|
||||||
|
|||||||
@@ -780,10 +780,10 @@ static PyTypeObject BlenderAppTranslationsType = {
|
|||||||
0, /* tp_itemsize */
|
0, /* tp_itemsize */
|
||||||
/* methods */
|
/* methods */
|
||||||
/* No destructor, this is a singleton! */
|
/* No destructor, this is a singleton! */
|
||||||
NULL, /* tp_dealloc */
|
NULL, /* tp_dealloc */
|
||||||
NULL, /* printfunc tp_print; */
|
(printfunc)NULL, /* printfunc tp_print; */
|
||||||
NULL, /* getattrfunc tp_getattr; */
|
NULL, /* getattrfunc tp_getattr; */
|
||||||
NULL, /* setattrfunc tp_setattr; */
|
NULL, /* setattrfunc tp_setattr; */
|
||||||
NULL,
|
NULL,
|
||||||
/* tp_compare */ /* DEPRECATED in python 3.0! */
|
/* tp_compare */ /* DEPRECATED in python 3.0! */
|
||||||
NULL, /* tp_repr */
|
NULL, /* tp_repr */
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ static PyTypeObject bpy_lib_Type = {
|
|||||||
0, /* tp_itemsize */
|
0, /* tp_itemsize */
|
||||||
/* methods */
|
/* methods */
|
||||||
(destructor)bpy_lib_dealloc, /* tp_dealloc */
|
(destructor)bpy_lib_dealloc, /* tp_dealloc */
|
||||||
NULL, /* printfunc tp_print; */
|
(printfunc)NULL, /* printfunc tp_print; */
|
||||||
NULL, /* getattrfunc tp_getattr; */
|
NULL, /* getattrfunc tp_getattr; */
|
||||||
NULL, /* setattrfunc tp_setattr; */
|
NULL, /* setattrfunc tp_setattr; */
|
||||||
NULL,
|
NULL,
|
||||||
|
|||||||
@@ -6237,10 +6237,10 @@ PyTypeObject pyrna_struct_meta_idprop_Type = {
|
|||||||
|
|
||||||
0, /* tp_itemsize */
|
0, /* tp_itemsize */
|
||||||
/* methods */
|
/* methods */
|
||||||
NULL, /* tp_dealloc */
|
NULL, /* tp_dealloc */
|
||||||
NULL, /* printfunc tp_print; */
|
(printfunc)NULL, /* printfunc tp_print; */
|
||||||
NULL, /* getattrfunc tp_getattr; */
|
NULL, /* getattrfunc tp_getattr; */
|
||||||
NULL, /* setattrfunc tp_setattr; */
|
NULL, /* setattrfunc tp_setattr; */
|
||||||
NULL,
|
NULL,
|
||||||
/* tp_compare */ /* deprecated in Python 3.0! */
|
/* tp_compare */ /* deprecated in Python 3.0! */
|
||||||
NULL, /* tp_repr */
|
NULL, /* tp_repr */
|
||||||
@@ -6319,7 +6319,7 @@ PyTypeObject pyrna_struct_Type = {
|
|||||||
0, /* tp_itemsize */
|
0, /* tp_itemsize */
|
||||||
/* methods */
|
/* methods */
|
||||||
(destructor)pyrna_struct_dealloc, /* tp_dealloc */
|
(destructor)pyrna_struct_dealloc, /* tp_dealloc */
|
||||||
NULL, /* printfunc tp_print; */
|
(printfunc)NULL, /* printfunc tp_print; */
|
||||||
NULL, /* getattrfunc tp_getattr; */
|
NULL, /* getattrfunc tp_getattr; */
|
||||||
NULL, /* setattrfunc tp_setattr; */
|
NULL, /* setattrfunc tp_setattr; */
|
||||||
NULL,
|
NULL,
|
||||||
@@ -6408,7 +6408,7 @@ PyTypeObject pyrna_prop_Type = {
|
|||||||
0, /* tp_itemsize */
|
0, /* tp_itemsize */
|
||||||
/* methods */
|
/* methods */
|
||||||
(destructor)pyrna_prop_dealloc, /* tp_dealloc */
|
(destructor)pyrna_prop_dealloc, /* tp_dealloc */
|
||||||
NULL, /* printfunc tp_print; */
|
(printfunc)NULL, /* printfunc tp_print; */
|
||||||
NULL, /* getattrfunc tp_getattr; */
|
NULL, /* getattrfunc tp_getattr; */
|
||||||
NULL, /* setattrfunc tp_setattr; */
|
NULL, /* setattrfunc tp_setattr; */
|
||||||
NULL,
|
NULL,
|
||||||
@@ -6492,7 +6492,7 @@ PyTypeObject pyrna_prop_array_Type = {
|
|||||||
0, /* tp_itemsize */
|
0, /* tp_itemsize */
|
||||||
/* methods */
|
/* methods */
|
||||||
(destructor)pyrna_prop_array_dealloc, /* tp_dealloc */
|
(destructor)pyrna_prop_array_dealloc, /* tp_dealloc */
|
||||||
NULL, /* printfunc tp_print; */
|
(printfunc)NULL, /* printfunc tp_print; */
|
||||||
NULL, /* getattrfunc tp_getattr; */
|
NULL, /* getattrfunc tp_getattr; */
|
||||||
NULL, /* setattrfunc tp_setattr; */
|
NULL, /* setattrfunc tp_setattr; */
|
||||||
NULL,
|
NULL,
|
||||||
@@ -6575,7 +6575,7 @@ PyTypeObject pyrna_prop_collection_Type = {
|
|||||||
0, /* tp_itemsize */
|
0, /* tp_itemsize */
|
||||||
/* methods */
|
/* methods */
|
||||||
(destructor)pyrna_prop_dealloc, /* tp_dealloc */
|
(destructor)pyrna_prop_dealloc, /* tp_dealloc */
|
||||||
NULL, /* printfunc tp_print; */
|
(printfunc)NULL, /* printfunc tp_print; */
|
||||||
NULL, /* getattrfunc tp_getattr; */
|
NULL, /* getattrfunc tp_getattr; */
|
||||||
NULL, /* setattrfunc tp_setattr; */
|
NULL, /* setattrfunc tp_setattr; */
|
||||||
NULL,
|
NULL,
|
||||||
@@ -6661,7 +6661,7 @@ static PyTypeObject pyrna_prop_collection_idprop_Type = {
|
|||||||
0, /* tp_itemsize */
|
0, /* tp_itemsize */
|
||||||
/* methods */
|
/* methods */
|
||||||
(destructor)pyrna_prop_dealloc, /* tp_dealloc */
|
(destructor)pyrna_prop_dealloc, /* tp_dealloc */
|
||||||
NULL, /* printfunc tp_print; */
|
(printfunc)NULL, /* printfunc tp_print; */
|
||||||
NULL, /* getattrfunc tp_getattr; */
|
NULL, /* getattrfunc tp_getattr; */
|
||||||
NULL, /* setattrfunc tp_setattr; */
|
NULL, /* setattrfunc tp_setattr; */
|
||||||
NULL,
|
NULL,
|
||||||
@@ -6746,10 +6746,10 @@ PyTypeObject pyrna_func_Type = {
|
|||||||
sizeof(BPy_FunctionRNA), /* tp_basicsize */
|
sizeof(BPy_FunctionRNA), /* tp_basicsize */
|
||||||
0, /* tp_itemsize */
|
0, /* tp_itemsize */
|
||||||
/* methods */
|
/* methods */
|
||||||
NULL, /* tp_dealloc */
|
NULL, /* tp_dealloc */
|
||||||
NULL, /* printfunc tp_print; */
|
(printfunc)NULL, /* printfunc tp_print; */
|
||||||
NULL, /* getattrfunc tp_getattr; */
|
NULL, /* getattrfunc tp_getattr; */
|
||||||
NULL, /* setattrfunc tp_setattr; */
|
NULL, /* setattrfunc tp_setattr; */
|
||||||
NULL,
|
NULL,
|
||||||
/* tp_compare */ /* DEPRECATED in Python 3.0! */
|
/* tp_compare */ /* DEPRECATED in Python 3.0! */
|
||||||
(reprfunc)pyrna_func_repr, /* tp_repr */
|
(reprfunc)pyrna_func_repr, /* tp_repr */
|
||||||
@@ -6843,7 +6843,7 @@ static PyTypeObject pyrna_prop_collection_iter_Type = {
|
|||||||
0, /* tp_itemsize */
|
0, /* tp_itemsize */
|
||||||
/* methods */
|
/* methods */
|
||||||
(destructor)pyrna_prop_collection_iter_dealloc, /* tp_dealloc */
|
(destructor)pyrna_prop_collection_iter_dealloc, /* tp_dealloc */
|
||||||
NULL, /* printfunc tp_print; */
|
(printfunc)NULL, /* printfunc tp_print; */
|
||||||
NULL, /* getattrfunc tp_getattr; */
|
NULL, /* getattrfunc tp_getattr; */
|
||||||
NULL, /* setattrfunc tp_setattr; */
|
NULL, /* setattrfunc tp_setattr; */
|
||||||
NULL,
|
NULL,
|
||||||
|
|||||||
@@ -921,7 +921,7 @@ PyTypeObject color_Type = {
|
|||||||
sizeof(ColorObject), /* tp_basicsize */
|
sizeof(ColorObject), /* tp_basicsize */
|
||||||
0, /* tp_itemsize */
|
0, /* tp_itemsize */
|
||||||
(destructor)BaseMathObject_dealloc, /* tp_dealloc */
|
(destructor)BaseMathObject_dealloc, /* tp_dealloc */
|
||||||
NULL, /* tp_print */
|
(printfunc)NULL, /* tp_print */
|
||||||
NULL, /* tp_getattr */
|
NULL, /* tp_getattr */
|
||||||
NULL, /* tp_setattr */
|
NULL, /* tp_setattr */
|
||||||
NULL, /* tp_compare */
|
NULL, /* tp_compare */
|
||||||
|
|||||||
@@ -750,7 +750,7 @@ PyTypeObject euler_Type = {
|
|||||||
sizeof(EulerObject), /* tp_basicsize */
|
sizeof(EulerObject), /* tp_basicsize */
|
||||||
0, /* tp_itemsize */
|
0, /* tp_itemsize */
|
||||||
(destructor)BaseMathObject_dealloc, /* tp_dealloc */
|
(destructor)BaseMathObject_dealloc, /* tp_dealloc */
|
||||||
NULL, /* tp_print */
|
(printfunc)NULL, /* tp_print */
|
||||||
NULL, /* tp_getattr */
|
NULL, /* tp_getattr */
|
||||||
NULL, /* tp_setattr */
|
NULL, /* tp_setattr */
|
||||||
NULL, /* tp_compare */
|
NULL, /* tp_compare */
|
||||||
|
|||||||
@@ -3141,7 +3141,7 @@ PyTypeObject matrix_Type = {
|
|||||||
sizeof(MatrixObject), /*tp_basicsize*/
|
sizeof(MatrixObject), /*tp_basicsize*/
|
||||||
0, /*tp_itemsize*/
|
0, /*tp_itemsize*/
|
||||||
(destructor)BaseMathObject_dealloc, /*tp_dealloc*/
|
(destructor)BaseMathObject_dealloc, /*tp_dealloc*/
|
||||||
NULL, /*tp_print*/
|
(printfunc)NULL, /*tp_print*/
|
||||||
NULL, /*tp_getattr*/
|
NULL, /*tp_getattr*/
|
||||||
NULL, /*tp_setattr*/
|
NULL, /*tp_setattr*/
|
||||||
NULL, /*tp_compare*/
|
NULL, /*tp_compare*/
|
||||||
@@ -3532,7 +3532,7 @@ PyTypeObject matrix_access_Type = {
|
|||||||
sizeof(MatrixAccessObject), /*tp_basicsize*/
|
sizeof(MatrixAccessObject), /*tp_basicsize*/
|
||||||
0, /*tp_itemsize*/
|
0, /*tp_itemsize*/
|
||||||
(destructor)MatrixAccess_dealloc, /*tp_dealloc*/
|
(destructor)MatrixAccess_dealloc, /*tp_dealloc*/
|
||||||
NULL, /*tp_print*/
|
(printfunc)NULL, /*tp_print*/
|
||||||
NULL, /*tp_getattr*/
|
NULL, /*tp_getattr*/
|
||||||
NULL, /*tp_setattr*/
|
NULL, /*tp_setattr*/
|
||||||
NULL, /*tp_compare*/
|
NULL, /*tp_compare*/
|
||||||
|
|||||||
@@ -1527,7 +1527,7 @@ PyTypeObject quaternion_Type = {
|
|||||||
sizeof(QuaternionObject), /* tp_basicsize */
|
sizeof(QuaternionObject), /* tp_basicsize */
|
||||||
0, /* tp_itemsize */
|
0, /* tp_itemsize */
|
||||||
(destructor)BaseMathObject_dealloc, /* tp_dealloc */
|
(destructor)BaseMathObject_dealloc, /* tp_dealloc */
|
||||||
NULL, /* tp_print */
|
(printfunc)NULL, /* tp_print */
|
||||||
NULL, /* tp_getattr */
|
NULL, /* tp_getattr */
|
||||||
NULL, /* tp_setattr */
|
NULL, /* tp_setattr */
|
||||||
NULL, /* tp_compare */
|
NULL, /* tp_compare */
|
||||||
|
|||||||
@@ -3055,7 +3055,7 @@ PyTypeObject vector_Type = {
|
|||||||
/* Methods to implement standard operations */
|
/* Methods to implement standard operations */
|
||||||
|
|
||||||
(destructor)BaseMathObject_dealloc, /* destructor tp_dealloc; */
|
(destructor)BaseMathObject_dealloc, /* destructor tp_dealloc; */
|
||||||
NULL, /* printfunc tp_print; */
|
(printfunc)NULL, /* printfunc tp_print; */
|
||||||
NULL, /* getattrfunc tp_getattr; */
|
NULL, /* getattrfunc tp_getattr; */
|
||||||
NULL, /* setattrfunc tp_setattr; */
|
NULL, /* setattrfunc tp_setattr; */
|
||||||
NULL, /* cmpfunc tp_compare; */
|
NULL, /* cmpfunc tp_compare; */
|
||||||
|
|||||||
@@ -1267,7 +1267,7 @@ PyTypeObject PyBVHTree_Type = {
|
|||||||
0, /* tp_itemsize */
|
0, /* tp_itemsize */
|
||||||
/* methods */
|
/* methods */
|
||||||
(destructor)py_bvhtree__tp_dealloc, /* tp_dealloc */
|
(destructor)py_bvhtree__tp_dealloc, /* tp_dealloc */
|
||||||
NULL, /* tp_print */
|
(printfunc)NULL, /* tp_print */
|
||||||
NULL, /* tp_getattr */
|
NULL, /* tp_getattr */
|
||||||
NULL, /* tp_setattr */
|
NULL, /* tp_setattr */
|
||||||
NULL, /* tp_compare */
|
NULL, /* tp_compare */
|
||||||
|
|||||||
@@ -393,7 +393,7 @@ PyTypeObject PyKDTree_Type = {
|
|||||||
0, /* tp_itemsize */
|
0, /* tp_itemsize */
|
||||||
/* methods */
|
/* methods */
|
||||||
(destructor)PyKDTree__tp_dealloc, /* tp_dealloc */
|
(destructor)PyKDTree__tp_dealloc, /* tp_dealloc */
|
||||||
NULL, /* tp_print */
|
(printfunc)NULL, /* tp_print */
|
||||||
NULL, /* tp_getattr */
|
NULL, /* tp_getattr */
|
||||||
NULL, /* tp_setattr */
|
NULL, /* tp_setattr */
|
||||||
NULL, /* tp_compare */
|
NULL, /* tp_compare */
|
||||||
|
|||||||
Reference in New Issue
Block a user