From a90d70d126cb505bfbb6f9c23f05640f6333ea51 Mon Sep 17 00:00:00 2001 From: Zuzu-Typ Date: Wed, 11 Sep 2024 13:55:34 +0200 Subject: [PATCH] Fixed PyTypeObject instantiations Use PyVarObject_HEAD_INIT instead of PyObject_HEAD_INIT --- PyGLM/types/glmArray/glmArray.h | 2 +- PyGLM/types/mat/double/mat2x2.h | 2 +- PyGLM/types/mat/double/mat2x3.h | 2 +- PyGLM/types/mat/double/mat2x4.h | 2 +- PyGLM/types/mat/double/mat3x2.h | 2 +- PyGLM/types/mat/double/mat3x3.h | 2 +- PyGLM/types/mat/double/mat3x4.h | 2 +- PyGLM/types/mat/double/mat4x2.h | 2 +- PyGLM/types/mat/double/mat4x3.h | 2 +- PyGLM/types/mat/double/mat4x4.h | 2 +- PyGLM/types/mat/float/mat2x2.h | 2 +- PyGLM/types/mat/float/mat2x3.h | 2 +- PyGLM/types/mat/float/mat2x4.h | 2 +- PyGLM/types/mat/float/mat3x2.h | 2 +- PyGLM/types/mat/float/mat3x3.h | 2 +- PyGLM/types/mat/float/mat3x4.h | 2 +- PyGLM/types/mat/float/mat4x2.h | 2 +- PyGLM/types/mat/float/mat4x3.h | 2 +- PyGLM/types/mat/float/mat4x4.h | 2 +- PyGLM/types/mat/int/mat2x2.h | 2 +- PyGLM/types/mat/int/mat2x3.h | 2 +- PyGLM/types/mat/int/mat2x4.h | 2 +- PyGLM/types/mat/int/mat3x2.h | 2 +- PyGLM/types/mat/int/mat3x3.h | 2 +- PyGLM/types/mat/int/mat3x4.h | 2 +- PyGLM/types/mat/int/mat4x2.h | 2 +- PyGLM/types/mat/int/mat4x3.h | 2 +- PyGLM/types/mat/int/mat4x4.h | 2 +- PyGLM/types/mat/uint/mat2x2.h | 2 +- PyGLM/types/mat/uint/mat2x3.h | 2 +- PyGLM/types/mat/uint/mat2x4.h | 2 +- PyGLM/types/mat/uint/mat3x2.h | 2 +- PyGLM/types/mat/uint/mat3x3.h | 2 +- PyGLM/types/mat/uint/mat3x4.h | 2 +- PyGLM/types/mat/uint/mat4x2.h | 2 +- PyGLM/types/mat/uint/mat4x3.h | 2 +- PyGLM/types/mat/uint/mat4x4.h | 2 +- PyGLM/types/mvec/double/mvec2.h | 2 +- PyGLM/types/mvec/double/mvec3.h | 2 +- PyGLM/types/mvec/double/mvec4.h | 2 +- PyGLM/types/mvec/float/mvec2.h | 2 +- PyGLM/types/mvec/float/mvec3.h | 2 +- PyGLM/types/mvec/float/mvec4.h | 2 +- PyGLM/types/mvec/int/mvec2.h | 2 +- PyGLM/types/mvec/int/mvec3.h | 2 +- PyGLM/types/mvec/int/mvec4.h | 2 +- PyGLM/types/mvec/uint/mvec2.h | 2 +- PyGLM/types/mvec/uint/mvec3.h | 2 +- PyGLM/types/mvec/uint/mvec4.h | 2 +- PyGLM/types/qua/double/quat.h | 2 +- PyGLM/types/qua/float/quat.h | 2 +- PyGLM/types/vec/bool/vec1.h | 2 +- PyGLM/types/vec/bool/vec2.h | 2 +- PyGLM/types/vec/bool/vec3.h | 2 +- PyGLM/types/vec/bool/vec4.h | 2 +- PyGLM/types/vec/double/vec1.h | 2 +- PyGLM/types/vec/double/vec2.h | 2 +- PyGLM/types/vec/double/vec3.h | 2 +- PyGLM/types/vec/double/vec4.h | 2 +- PyGLM/types/vec/float/vec1.h | 2 +- PyGLM/types/vec/float/vec2.h | 2 +- PyGLM/types/vec/float/vec3.h | 2 +- PyGLM/types/vec/float/vec4.h | 2 +- PyGLM/types/vec/int16/vec1.h | 2 +- PyGLM/types/vec/int16/vec2.h | 2 +- PyGLM/types/vec/int16/vec3.h | 2 +- PyGLM/types/vec/int16/vec4.h | 2 +- PyGLM/types/vec/int32/vec1.h | 2 +- PyGLM/types/vec/int32/vec2.h | 2 +- PyGLM/types/vec/int32/vec3.h | 2 +- PyGLM/types/vec/int32/vec4.h | 2 +- PyGLM/types/vec/int64/vec1.h | 2 +- PyGLM/types/vec/int64/vec2.h | 2 +- PyGLM/types/vec/int64/vec3.h | 2 +- PyGLM/types/vec/int64/vec4.h | 2 +- PyGLM/types/vec/int8/vec1.h | 2 +- PyGLM/types/vec/int8/vec2.h | 2 +- PyGLM/types/vec/int8/vec3.h | 2 +- PyGLM/types/vec/int8/vec4.h | 2 +- PyGLM/types/vec/uint16/vec1.h | 2 +- PyGLM/types/vec/uint16/vec2.h | 2 +- PyGLM/types/vec/uint16/vec3.h | 2 +- PyGLM/types/vec/uint16/vec4.h | 2 +- PyGLM/types/vec/uint32/vec1.h | 2 +- PyGLM/types/vec/uint32/vec2.h | 2 +- PyGLM/types/vec/uint32/vec3.h | 2 +- PyGLM/types/vec/uint32/vec4.h | 2 +- PyGLM/types/vec/uint64/vec1.h | 2 +- PyGLM/types/vec/uint64/vec2.h | 2 +- PyGLM/types/vec/uint64/vec3.h | 2 +- PyGLM/types/vec/uint64/vec4.h | 2 +- PyGLM/types/vec/uint8/vec1.h | 2 +- PyGLM/types/vec/uint8/vec2.h | 2 +- PyGLM/types/vec/uint8/vec3.h | 2 +- PyGLM/types/vec/uint8/vec4.h | 2 +- 95 files changed, 95 insertions(+), 95 deletions(-) diff --git a/PyGLM/types/glmArray/glmArray.h b/PyGLM/types/glmArray/glmArray.h index c882b04..ce6eec4 100644 --- a/PyGLM/types/glmArray/glmArray.h +++ b/PyGLM/types/glmArray/glmArray.h @@ -110,7 +110,7 @@ static PyNumberMethods glmArrayNumMethods = { }; static PyTypeObject glmArrayType = { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.array", // tp_name sizeof(glmArray), // tp_basicsize 0, // tp_itemsize diff --git a/PyGLM/types/mat/double/mat2x2.h b/PyGLM/types/mat/double/mat2x2.h index bee12ef..0b215e8 100644 --- a/PyGLM/types/mat/double/mat2x2.h +++ b/PyGLM/types/mat/double/mat2x2.h @@ -116,7 +116,7 @@ static PyTypeObject hdmat2x2IterType = { static PyGLMTypeObject hdmat2x2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.dmat2x2", /* tp_name */ sizeof(mat<2, 2, double>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/double/mat2x3.h b/PyGLM/types/mat/double/mat2x3.h index 3e1e484..0c1ec25 100644 --- a/PyGLM/types/mat/double/mat2x3.h +++ b/PyGLM/types/mat/double/mat2x3.h @@ -116,7 +116,7 @@ static PyTypeObject hdmat2x3IterType = { static PyGLMTypeObject hdmat2x3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.dmat2x3", /* tp_name */ sizeof(mat<2, 3, double>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/double/mat2x4.h b/PyGLM/types/mat/double/mat2x4.h index 4681f11..f348c4b 100644 --- a/PyGLM/types/mat/double/mat2x4.h +++ b/PyGLM/types/mat/double/mat2x4.h @@ -116,7 +116,7 @@ static PyTypeObject hdmat2x4IterType = { static PyGLMTypeObject hdmat2x4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.dmat2x4", /* tp_name */ sizeof(mat<2, 4, double>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/double/mat3x2.h b/PyGLM/types/mat/double/mat3x2.h index a7ad851..76d0e6f 100644 --- a/PyGLM/types/mat/double/mat3x2.h +++ b/PyGLM/types/mat/double/mat3x2.h @@ -116,7 +116,7 @@ static PyTypeObject hdmat3x2IterType = { static PyGLMTypeObject hdmat3x2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.dmat3x2", /* tp_name */ sizeof(mat<3, 2, double>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/double/mat3x3.h b/PyGLM/types/mat/double/mat3x3.h index afcf310..ea76ede 100644 --- a/PyGLM/types/mat/double/mat3x3.h +++ b/PyGLM/types/mat/double/mat3x3.h @@ -116,7 +116,7 @@ static PyTypeObject hdmat3x3IterType = { static PyGLMTypeObject hdmat3x3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.dmat3x3", /* tp_name */ sizeof(mat<3, 3, double>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/double/mat3x4.h b/PyGLM/types/mat/double/mat3x4.h index 9813ca2..6bb6835 100644 --- a/PyGLM/types/mat/double/mat3x4.h +++ b/PyGLM/types/mat/double/mat3x4.h @@ -116,7 +116,7 @@ static PyTypeObject hdmat3x4IterType = { static PyGLMTypeObject hdmat3x4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.dmat3x4", /* tp_name */ sizeof(mat<3, 4, double>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/double/mat4x2.h b/PyGLM/types/mat/double/mat4x2.h index 639e19e..5fd7d08 100644 --- a/PyGLM/types/mat/double/mat4x2.h +++ b/PyGLM/types/mat/double/mat4x2.h @@ -116,7 +116,7 @@ static PyTypeObject hdmat4x2IterType = { static PyGLMTypeObject hdmat4x2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.dmat4x2", /* tp_name */ sizeof(mat<4, 2, double>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/double/mat4x3.h b/PyGLM/types/mat/double/mat4x3.h index 96864e0..b78c89c 100644 --- a/PyGLM/types/mat/double/mat4x3.h +++ b/PyGLM/types/mat/double/mat4x3.h @@ -116,7 +116,7 @@ static PyTypeObject hdmat4x3IterType = { static PyGLMTypeObject hdmat4x3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.dmat4x3", /* tp_name */ sizeof(mat<4, 3, double>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/double/mat4x4.h b/PyGLM/types/mat/double/mat4x4.h index b5516d9..34ece32 100644 --- a/PyGLM/types/mat/double/mat4x4.h +++ b/PyGLM/types/mat/double/mat4x4.h @@ -116,7 +116,7 @@ static PyTypeObject hdmat4x4IterType = { static PyGLMTypeObject hdmat4x4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.dmat4x4", /* tp_name */ sizeof(mat<4, 4, double>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/float/mat2x2.h b/PyGLM/types/mat/float/mat2x2.h index 233574a..175b5bc 100644 --- a/PyGLM/types/mat/float/mat2x2.h +++ b/PyGLM/types/mat/float/mat2x2.h @@ -116,7 +116,7 @@ static PyTypeObject hfmat2x2IterType = { static PyGLMTypeObject hfmat2x2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.mat2x2", /* tp_name */ sizeof(mat<2, 2, float>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/float/mat2x3.h b/PyGLM/types/mat/float/mat2x3.h index 27e2baf..be8d8f9 100644 --- a/PyGLM/types/mat/float/mat2x3.h +++ b/PyGLM/types/mat/float/mat2x3.h @@ -116,7 +116,7 @@ static PyTypeObject hfmat2x3IterType = { static PyGLMTypeObject hfmat2x3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.mat2x3", /* tp_name */ sizeof(mat<2, 3, float>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/float/mat2x4.h b/PyGLM/types/mat/float/mat2x4.h index 3002083..89b0e1e 100644 --- a/PyGLM/types/mat/float/mat2x4.h +++ b/PyGLM/types/mat/float/mat2x4.h @@ -116,7 +116,7 @@ static PyTypeObject hfmat2x4IterType = { static PyGLMTypeObject hfmat2x4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.mat2x4", /* tp_name */ sizeof(mat<2, 4, float>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/float/mat3x2.h b/PyGLM/types/mat/float/mat3x2.h index 8c70e64..1d5a297 100644 --- a/PyGLM/types/mat/float/mat3x2.h +++ b/PyGLM/types/mat/float/mat3x2.h @@ -116,7 +116,7 @@ static PyTypeObject hfmat3x2IterType = { static PyGLMTypeObject hfmat3x2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.mat3x2", /* tp_name */ sizeof(mat<3, 2, float>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/float/mat3x3.h b/PyGLM/types/mat/float/mat3x3.h index f2a5ca9..5837904 100644 --- a/PyGLM/types/mat/float/mat3x3.h +++ b/PyGLM/types/mat/float/mat3x3.h @@ -116,7 +116,7 @@ static PyTypeObject hfmat3x3IterType = { static PyGLMTypeObject hfmat3x3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.mat3x3", /* tp_name */ sizeof(mat<3, 3, float>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/float/mat3x4.h b/PyGLM/types/mat/float/mat3x4.h index 29fcf0f..822c2ab 100644 --- a/PyGLM/types/mat/float/mat3x4.h +++ b/PyGLM/types/mat/float/mat3x4.h @@ -116,7 +116,7 @@ static PyTypeObject hfmat3x4IterType = { static PyGLMTypeObject hfmat3x4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.mat3x4", /* tp_name */ sizeof(mat<3, 4, float>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/float/mat4x2.h b/PyGLM/types/mat/float/mat4x2.h index 5e5adc8..1346b0d 100644 --- a/PyGLM/types/mat/float/mat4x2.h +++ b/PyGLM/types/mat/float/mat4x2.h @@ -116,7 +116,7 @@ static PyTypeObject hfmat4x2IterType = { static PyGLMTypeObject hfmat4x2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.mat4x2", /* tp_name */ sizeof(mat<4, 2, float>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/float/mat4x3.h b/PyGLM/types/mat/float/mat4x3.h index 26591d9..7d2c7a1 100644 --- a/PyGLM/types/mat/float/mat4x3.h +++ b/PyGLM/types/mat/float/mat4x3.h @@ -116,7 +116,7 @@ static PyTypeObject hfmat4x3IterType = { static PyGLMTypeObject hfmat4x3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.mat4x3", /* tp_name */ sizeof(mat<4, 3, float>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/float/mat4x4.h b/PyGLM/types/mat/float/mat4x4.h index ad8368a..f7bd604 100644 --- a/PyGLM/types/mat/float/mat4x4.h +++ b/PyGLM/types/mat/float/mat4x4.h @@ -116,7 +116,7 @@ static PyTypeObject hfmat4x4IterType = { static PyGLMTypeObject hfmat4x4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.mat4x4", /* tp_name */ sizeof(mat<4, 4, float>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/int/mat2x2.h b/PyGLM/types/mat/int/mat2x2.h index 699b915..f289534 100644 --- a/PyGLM/types/mat/int/mat2x2.h +++ b/PyGLM/types/mat/int/mat2x2.h @@ -116,7 +116,7 @@ static PyTypeObject himat2x2IterType = { static PyGLMTypeObject himat2x2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.imat2x2", /* tp_name */ sizeof(mat<2, 2, glm::i32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/int/mat2x3.h b/PyGLM/types/mat/int/mat2x3.h index 49638d1..fe21e84 100644 --- a/PyGLM/types/mat/int/mat2x3.h +++ b/PyGLM/types/mat/int/mat2x3.h @@ -116,7 +116,7 @@ static PyTypeObject himat2x3IterType = { static PyGLMTypeObject himat2x3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.imat2x3", /* tp_name */ sizeof(mat<2, 3, glm::i32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/int/mat2x4.h b/PyGLM/types/mat/int/mat2x4.h index 6f2f96b..dc82420 100644 --- a/PyGLM/types/mat/int/mat2x4.h +++ b/PyGLM/types/mat/int/mat2x4.h @@ -116,7 +116,7 @@ static PyTypeObject himat2x4IterType = { static PyGLMTypeObject himat2x4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.imat2x4", /* tp_name */ sizeof(mat<2, 4, glm::i32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/int/mat3x2.h b/PyGLM/types/mat/int/mat3x2.h index 77f316d..9c433ad 100644 --- a/PyGLM/types/mat/int/mat3x2.h +++ b/PyGLM/types/mat/int/mat3x2.h @@ -116,7 +116,7 @@ static PyTypeObject himat3x2IterType = { static PyGLMTypeObject himat3x2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.imat3x2", /* tp_name */ sizeof(mat<3, 2, glm::i32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/int/mat3x3.h b/PyGLM/types/mat/int/mat3x3.h index f192ea3..ed7b260 100644 --- a/PyGLM/types/mat/int/mat3x3.h +++ b/PyGLM/types/mat/int/mat3x3.h @@ -116,7 +116,7 @@ static PyTypeObject himat3x3IterType = { static PyGLMTypeObject himat3x3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.imat3x3", /* tp_name */ sizeof(mat<3, 3, glm::i32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/int/mat3x4.h b/PyGLM/types/mat/int/mat3x4.h index 57e4024..bbe82ba 100644 --- a/PyGLM/types/mat/int/mat3x4.h +++ b/PyGLM/types/mat/int/mat3x4.h @@ -116,7 +116,7 @@ static PyTypeObject himat3x4IterType = { static PyGLMTypeObject himat3x4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.imat3x4", /* tp_name */ sizeof(mat<3, 4, glm::i32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/int/mat4x2.h b/PyGLM/types/mat/int/mat4x2.h index 7320e5f..0218d56 100644 --- a/PyGLM/types/mat/int/mat4x2.h +++ b/PyGLM/types/mat/int/mat4x2.h @@ -116,7 +116,7 @@ static PyTypeObject himat4x2IterType = { static PyGLMTypeObject himat4x2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.imat4x2", /* tp_name */ sizeof(mat<4, 2, glm::i32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/int/mat4x3.h b/PyGLM/types/mat/int/mat4x3.h index 36a59ef..736b36d 100644 --- a/PyGLM/types/mat/int/mat4x3.h +++ b/PyGLM/types/mat/int/mat4x3.h @@ -116,7 +116,7 @@ static PyTypeObject himat4x3IterType = { static PyGLMTypeObject himat4x3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.imat4x3", /* tp_name */ sizeof(mat<4, 3, glm::i32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/int/mat4x4.h b/PyGLM/types/mat/int/mat4x4.h index 9fc7bd4..57ab894 100644 --- a/PyGLM/types/mat/int/mat4x4.h +++ b/PyGLM/types/mat/int/mat4x4.h @@ -116,7 +116,7 @@ static PyTypeObject himat4x4IterType = { static PyGLMTypeObject himat4x4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.imat4x4", /* tp_name */ sizeof(mat<4, 4, glm::i32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/uint/mat2x2.h b/PyGLM/types/mat/uint/mat2x2.h index 7e8fb82..96da9fe 100644 --- a/PyGLM/types/mat/uint/mat2x2.h +++ b/PyGLM/types/mat/uint/mat2x2.h @@ -116,7 +116,7 @@ static PyTypeObject humat2x2IterType = { static PyGLMTypeObject humat2x2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.umat2x2", /* tp_name */ sizeof(mat<2, 2, glm::u32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/uint/mat2x3.h b/PyGLM/types/mat/uint/mat2x3.h index 4f6f6ba..14d352a 100644 --- a/PyGLM/types/mat/uint/mat2x3.h +++ b/PyGLM/types/mat/uint/mat2x3.h @@ -116,7 +116,7 @@ static PyTypeObject humat2x3IterType = { static PyGLMTypeObject humat2x3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.umat2x3", /* tp_name */ sizeof(mat<2, 3, glm::u32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/uint/mat2x4.h b/PyGLM/types/mat/uint/mat2x4.h index fec38e0..15741c3 100644 --- a/PyGLM/types/mat/uint/mat2x4.h +++ b/PyGLM/types/mat/uint/mat2x4.h @@ -116,7 +116,7 @@ static PyTypeObject humat2x4IterType = { static PyGLMTypeObject humat2x4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.umat2x4", /* tp_name */ sizeof(mat<2, 4, glm::u32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/uint/mat3x2.h b/PyGLM/types/mat/uint/mat3x2.h index 405effa..787ccaa 100644 --- a/PyGLM/types/mat/uint/mat3x2.h +++ b/PyGLM/types/mat/uint/mat3x2.h @@ -116,7 +116,7 @@ static PyTypeObject humat3x2IterType = { static PyGLMTypeObject humat3x2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.umat3x2", /* tp_name */ sizeof(mat<3, 2, glm::u32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/uint/mat3x3.h b/PyGLM/types/mat/uint/mat3x3.h index 24fa506..651c0d3 100644 --- a/PyGLM/types/mat/uint/mat3x3.h +++ b/PyGLM/types/mat/uint/mat3x3.h @@ -116,7 +116,7 @@ static PyTypeObject humat3x3IterType = { static PyGLMTypeObject humat3x3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.umat3x3", /* tp_name */ sizeof(mat<3, 3, glm::u32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/uint/mat3x4.h b/PyGLM/types/mat/uint/mat3x4.h index d7ff7ae..ee88aaa 100644 --- a/PyGLM/types/mat/uint/mat3x4.h +++ b/PyGLM/types/mat/uint/mat3x4.h @@ -116,7 +116,7 @@ static PyTypeObject humat3x4IterType = { static PyGLMTypeObject humat3x4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.umat3x4", /* tp_name */ sizeof(mat<3, 4, glm::u32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/uint/mat4x2.h b/PyGLM/types/mat/uint/mat4x2.h index 48e581c..77d3fa1 100644 --- a/PyGLM/types/mat/uint/mat4x2.h +++ b/PyGLM/types/mat/uint/mat4x2.h @@ -116,7 +116,7 @@ static PyTypeObject humat4x2IterType = { static PyGLMTypeObject humat4x2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.umat4x2", /* tp_name */ sizeof(mat<4, 2, glm::u32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/uint/mat4x3.h b/PyGLM/types/mat/uint/mat4x3.h index f3e84ac..9ba3564 100644 --- a/PyGLM/types/mat/uint/mat4x3.h +++ b/PyGLM/types/mat/uint/mat4x3.h @@ -116,7 +116,7 @@ static PyTypeObject humat4x3IterType = { static PyGLMTypeObject humat4x3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.umat4x3", /* tp_name */ sizeof(mat<4, 3, glm::u32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mat/uint/mat4x4.h b/PyGLM/types/mat/uint/mat4x4.h index 180be60..d92e81c 100644 --- a/PyGLM/types/mat/uint/mat4x4.h +++ b/PyGLM/types/mat/uint/mat4x4.h @@ -116,7 +116,7 @@ static PyTypeObject humat4x4IterType = { static PyGLMTypeObject humat4x4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.umat4x4", /* tp_name */ sizeof(mat<4, 4, glm::u32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mvec/double/mvec2.h b/PyGLM/types/mvec/double/mvec2.h index e72b0ba..8bb0cda 100644 --- a/PyGLM/types/mvec/double/mvec2.h +++ b/PyGLM/types/mvec/double/mvec2.h @@ -111,7 +111,7 @@ static PyTypeObject hdmvec2IterType = { static PyGLMTypeObject hdmvec2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.dmvec2", /* tp_name */ sizeof(mvec<2, double>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mvec/double/mvec3.h b/PyGLM/types/mvec/double/mvec3.h index 28fe7a3..0c93aae 100644 --- a/PyGLM/types/mvec/double/mvec3.h +++ b/PyGLM/types/mvec/double/mvec3.h @@ -111,7 +111,7 @@ static PyTypeObject hdmvec3IterType = { static PyGLMTypeObject hdmvec3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.dmvec3", /* tp_name */ sizeof(mvec<3, double>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mvec/double/mvec4.h b/PyGLM/types/mvec/double/mvec4.h index 54d020e..088b160 100644 --- a/PyGLM/types/mvec/double/mvec4.h +++ b/PyGLM/types/mvec/double/mvec4.h @@ -111,7 +111,7 @@ static PyTypeObject hdmvec4IterType = { static PyGLMTypeObject hdmvec4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.dmvec4", /* tp_name */ sizeof(mvec<4, double>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mvec/float/mvec2.h b/PyGLM/types/mvec/float/mvec2.h index e65842e..508315b 100644 --- a/PyGLM/types/mvec/float/mvec2.h +++ b/PyGLM/types/mvec/float/mvec2.h @@ -111,7 +111,7 @@ static PyTypeObject hfmvec2IterType = { static PyGLMTypeObject hfmvec2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.mvec2", /* tp_name */ sizeof(mvec<2, float>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mvec/float/mvec3.h b/PyGLM/types/mvec/float/mvec3.h index be60912..0f7a8c6 100644 --- a/PyGLM/types/mvec/float/mvec3.h +++ b/PyGLM/types/mvec/float/mvec3.h @@ -111,7 +111,7 @@ static PyTypeObject hfmvec3IterType = { static PyGLMTypeObject hfmvec3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.mvec3", /* tp_name */ sizeof(mvec<3, float>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mvec/float/mvec4.h b/PyGLM/types/mvec/float/mvec4.h index 87e998d..d9fb374 100644 --- a/PyGLM/types/mvec/float/mvec4.h +++ b/PyGLM/types/mvec/float/mvec4.h @@ -111,7 +111,7 @@ static PyTypeObject hfmvec4IterType = { static PyGLMTypeObject hfmvec4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.mvec4", /* tp_name */ sizeof(mvec<4, float>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mvec/int/mvec2.h b/PyGLM/types/mvec/int/mvec2.h index b4199d5..4fe7fa3 100644 --- a/PyGLM/types/mvec/int/mvec2.h +++ b/PyGLM/types/mvec/int/mvec2.h @@ -111,7 +111,7 @@ static PyTypeObject himvec2IterType = { static PyGLMTypeObject himvec2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.imvec2", /* tp_name */ sizeof(mvec<2, glm::i32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mvec/int/mvec3.h b/PyGLM/types/mvec/int/mvec3.h index 21c8ccc..2ad81d5 100644 --- a/PyGLM/types/mvec/int/mvec3.h +++ b/PyGLM/types/mvec/int/mvec3.h @@ -111,7 +111,7 @@ static PyTypeObject himvec3IterType = { static PyGLMTypeObject himvec3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.imvec3", /* tp_name */ sizeof(mvec<3, glm::i32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mvec/int/mvec4.h b/PyGLM/types/mvec/int/mvec4.h index 12e7a6f..f47f26a 100644 --- a/PyGLM/types/mvec/int/mvec4.h +++ b/PyGLM/types/mvec/int/mvec4.h @@ -111,7 +111,7 @@ static PyTypeObject himvec4IterType = { static PyGLMTypeObject himvec4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.imvec4", /* tp_name */ sizeof(mvec<4, glm::i32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mvec/uint/mvec2.h b/PyGLM/types/mvec/uint/mvec2.h index 78ea0f8..f2937d6 100644 --- a/PyGLM/types/mvec/uint/mvec2.h +++ b/PyGLM/types/mvec/uint/mvec2.h @@ -111,7 +111,7 @@ static PyTypeObject humvec2IterType = { static PyGLMTypeObject humvec2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.umvec2", /* tp_name */ sizeof(mvec<2, glm::u32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mvec/uint/mvec3.h b/PyGLM/types/mvec/uint/mvec3.h index d5b3364..8cbb356 100644 --- a/PyGLM/types/mvec/uint/mvec3.h +++ b/PyGLM/types/mvec/uint/mvec3.h @@ -111,7 +111,7 @@ static PyTypeObject humvec3IterType = { static PyGLMTypeObject humvec3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.umvec3", /* tp_name */ sizeof(mvec<3, glm::u32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/mvec/uint/mvec4.h b/PyGLM/types/mvec/uint/mvec4.h index 7c7d28c..e743b88 100644 --- a/PyGLM/types/mvec/uint/mvec4.h +++ b/PyGLM/types/mvec/uint/mvec4.h @@ -111,7 +111,7 @@ static PyTypeObject humvec4IterType = { static PyGLMTypeObject humvec4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.umvec4", /* tp_name */ sizeof(mvec<4, glm::u32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/qua/double/quat.h b/PyGLM/types/qua/double/quat.h index 0885fbc..99b37ba 100644 --- a/PyGLM/types/qua/double/quat.h +++ b/PyGLM/types/qua/double/quat.h @@ -119,7 +119,7 @@ static PyTypeObject hdquaIterType = { static PyGLMTypeObject hdquaGLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.dquat", /* tp_name */ sizeof(qua), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/qua/float/quat.h b/PyGLM/types/qua/float/quat.h index fe1604e..eb2402b 100644 --- a/PyGLM/types/qua/float/quat.h +++ b/PyGLM/types/qua/float/quat.h @@ -119,7 +119,7 @@ static PyTypeObject hfquaIterType = { static PyGLMTypeObject hfquaGLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.quat", /* tp_name */ sizeof(qua), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/bool/vec1.h b/PyGLM/types/vec/bool/vec1.h index b019ce6..c88c557 100644 --- a/PyGLM/types/vec/bool/vec1.h +++ b/PyGLM/types/vec/bool/vec1.h @@ -116,7 +116,7 @@ static PyTypeObject hbvec1IterType = { static PyGLMTypeObject hbvec1GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.bvec1", /* tp_name */ sizeof(vec<1, bool>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/bool/vec2.h b/PyGLM/types/vec/bool/vec2.h index 61aae1d..c786ee2 100644 --- a/PyGLM/types/vec/bool/vec2.h +++ b/PyGLM/types/vec/bool/vec2.h @@ -117,7 +117,7 @@ static PyTypeObject hbvec2IterType = { static PyGLMTypeObject hbvec2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.bvec2", /* tp_name */ sizeof(vec<2, bool>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/bool/vec3.h b/PyGLM/types/vec/bool/vec3.h index 1c21c18..c529ecf 100644 --- a/PyGLM/types/vec/bool/vec3.h +++ b/PyGLM/types/vec/bool/vec3.h @@ -118,7 +118,7 @@ static PyTypeObject hbvec3IterType = { static PyGLMTypeObject hbvec3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.bvec3", /* tp_name */ sizeof(vec<3, bool>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/bool/vec4.h b/PyGLM/types/vec/bool/vec4.h index 2da0406..518a0ae 100644 --- a/PyGLM/types/vec/bool/vec4.h +++ b/PyGLM/types/vec/bool/vec4.h @@ -119,7 +119,7 @@ static PyTypeObject hbvec4IterType = { static PyGLMTypeObject hbvec4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.bvec4", /* tp_name */ sizeof(vec<4, bool>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/double/vec1.h b/PyGLM/types/vec/double/vec1.h index 1428af1..5fdb6a7 100644 --- a/PyGLM/types/vec/double/vec1.h +++ b/PyGLM/types/vec/double/vec1.h @@ -116,7 +116,7 @@ static PyTypeObject hdvec1IterType = { static PyGLMTypeObject hdvec1GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.dvec1", /* tp_name */ sizeof(vec<1, double>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/double/vec2.h b/PyGLM/types/vec/double/vec2.h index 5ff2682..4bc2b99 100644 --- a/PyGLM/types/vec/double/vec2.h +++ b/PyGLM/types/vec/double/vec2.h @@ -117,7 +117,7 @@ static PyTypeObject hdvec2IterType = { static PyGLMTypeObject hdvec2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.dvec2", /* tp_name */ sizeof(vec<2, double>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/double/vec3.h b/PyGLM/types/vec/double/vec3.h index 848eb0f..efa2daf 100644 --- a/PyGLM/types/vec/double/vec3.h +++ b/PyGLM/types/vec/double/vec3.h @@ -118,7 +118,7 @@ static PyTypeObject hdvec3IterType = { static PyGLMTypeObject hdvec3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.dvec3", /* tp_name */ sizeof(vec<3, double>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/double/vec4.h b/PyGLM/types/vec/double/vec4.h index 961da24..49effc1 100644 --- a/PyGLM/types/vec/double/vec4.h +++ b/PyGLM/types/vec/double/vec4.h @@ -119,7 +119,7 @@ static PyTypeObject hdvec4IterType = { static PyGLMTypeObject hdvec4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.dvec4", /* tp_name */ sizeof(vec<4, double>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/float/vec1.h b/PyGLM/types/vec/float/vec1.h index 6d66d8f..f29168e 100644 --- a/PyGLM/types/vec/float/vec1.h +++ b/PyGLM/types/vec/float/vec1.h @@ -116,7 +116,7 @@ static PyTypeObject hfvec1IterType = { static PyGLMTypeObject hfvec1GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.vec1", /* tp_name */ sizeof(vec<1, float>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/float/vec2.h b/PyGLM/types/vec/float/vec2.h index 9615d5a..56804ab 100644 --- a/PyGLM/types/vec/float/vec2.h +++ b/PyGLM/types/vec/float/vec2.h @@ -117,7 +117,7 @@ static PyTypeObject hfvec2IterType = { static PyGLMTypeObject hfvec2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.vec2", /* tp_name */ sizeof(vec<2, float>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/float/vec3.h b/PyGLM/types/vec/float/vec3.h index cfc242c..17bf435 100644 --- a/PyGLM/types/vec/float/vec3.h +++ b/PyGLM/types/vec/float/vec3.h @@ -118,7 +118,7 @@ static PyTypeObject hfvec3IterType = { static PyGLMTypeObject hfvec3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.vec3", /* tp_name */ sizeof(vec<3, float>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/float/vec4.h b/PyGLM/types/vec/float/vec4.h index d204a7c..f74a154 100644 --- a/PyGLM/types/vec/float/vec4.h +++ b/PyGLM/types/vec/float/vec4.h @@ -119,7 +119,7 @@ static PyTypeObject hfvec4IterType = { static PyGLMTypeObject hfvec4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.vec4", /* tp_name */ sizeof(vec<4, float>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/int16/vec1.h b/PyGLM/types/vec/int16/vec1.h index d5a2558..5710b3f 100644 --- a/PyGLM/types/vec/int16/vec1.h +++ b/PyGLM/types/vec/int16/vec1.h @@ -116,7 +116,7 @@ static PyTypeObject hi16vec1IterType = { static PyGLMTypeObject hi16vec1GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.i16vec1", /* tp_name */ sizeof(vec<1, glm::i16>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/int16/vec2.h b/PyGLM/types/vec/int16/vec2.h index 2adfe2b..28247ec 100644 --- a/PyGLM/types/vec/int16/vec2.h +++ b/PyGLM/types/vec/int16/vec2.h @@ -117,7 +117,7 @@ static PyTypeObject hi16vec2IterType = { static PyGLMTypeObject hi16vec2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.i16vec2", /* tp_name */ sizeof(vec<2, glm::i16>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/int16/vec3.h b/PyGLM/types/vec/int16/vec3.h index ffe69e5..785a062 100644 --- a/PyGLM/types/vec/int16/vec3.h +++ b/PyGLM/types/vec/int16/vec3.h @@ -118,7 +118,7 @@ static PyTypeObject hi16vec3IterType = { static PyGLMTypeObject hi16vec3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.i16vec3", /* tp_name */ sizeof(vec<3, glm::i16>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/int16/vec4.h b/PyGLM/types/vec/int16/vec4.h index 18de978..302d2fe 100644 --- a/PyGLM/types/vec/int16/vec4.h +++ b/PyGLM/types/vec/int16/vec4.h @@ -119,7 +119,7 @@ static PyTypeObject hi16vec4IterType = { static PyGLMTypeObject hi16vec4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.i16vec4", /* tp_name */ sizeof(vec<4, glm::i16>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/int32/vec1.h b/PyGLM/types/vec/int32/vec1.h index 413ea1b..e33d9be 100644 --- a/PyGLM/types/vec/int32/vec1.h +++ b/PyGLM/types/vec/int32/vec1.h @@ -116,7 +116,7 @@ static PyTypeObject hivec1IterType = { static PyGLMTypeObject hivec1GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.ivec1", /* tp_name */ sizeof(vec<1, glm::i32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/int32/vec2.h b/PyGLM/types/vec/int32/vec2.h index b86ea58..4301ed7 100644 --- a/PyGLM/types/vec/int32/vec2.h +++ b/PyGLM/types/vec/int32/vec2.h @@ -117,7 +117,7 @@ static PyTypeObject hivec2IterType = { static PyGLMTypeObject hivec2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.ivec2", /* tp_name */ sizeof(vec<2, glm::i32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/int32/vec3.h b/PyGLM/types/vec/int32/vec3.h index e897111..d958c76 100644 --- a/PyGLM/types/vec/int32/vec3.h +++ b/PyGLM/types/vec/int32/vec3.h @@ -118,7 +118,7 @@ static PyTypeObject hivec3IterType = { static PyGLMTypeObject hivec3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.ivec3", /* tp_name */ sizeof(vec<3, glm::i32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/int32/vec4.h b/PyGLM/types/vec/int32/vec4.h index 39a2868..d5703b3 100644 --- a/PyGLM/types/vec/int32/vec4.h +++ b/PyGLM/types/vec/int32/vec4.h @@ -119,7 +119,7 @@ static PyTypeObject hivec4IterType = { static PyGLMTypeObject hivec4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.ivec4", /* tp_name */ sizeof(vec<4, glm::i32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/int64/vec1.h b/PyGLM/types/vec/int64/vec1.h index b211ae0..ea8630a 100644 --- a/PyGLM/types/vec/int64/vec1.h +++ b/PyGLM/types/vec/int64/vec1.h @@ -116,7 +116,7 @@ static PyTypeObject hi64vec1IterType = { static PyGLMTypeObject hi64vec1GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.i64vec1", /* tp_name */ sizeof(vec<1, glm::i64>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/int64/vec2.h b/PyGLM/types/vec/int64/vec2.h index c2f8a99..e99c670 100644 --- a/PyGLM/types/vec/int64/vec2.h +++ b/PyGLM/types/vec/int64/vec2.h @@ -117,7 +117,7 @@ static PyTypeObject hi64vec2IterType = { static PyGLMTypeObject hi64vec2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.i64vec2", /* tp_name */ sizeof(vec<2, glm::i64>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/int64/vec3.h b/PyGLM/types/vec/int64/vec3.h index 1fa1eaf..57d5e3c 100644 --- a/PyGLM/types/vec/int64/vec3.h +++ b/PyGLM/types/vec/int64/vec3.h @@ -118,7 +118,7 @@ static PyTypeObject hi64vec3IterType = { static PyGLMTypeObject hi64vec3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.i64vec3", /* tp_name */ sizeof(vec<3, glm::i64>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/int64/vec4.h b/PyGLM/types/vec/int64/vec4.h index 85bc3f6..769d40d 100644 --- a/PyGLM/types/vec/int64/vec4.h +++ b/PyGLM/types/vec/int64/vec4.h @@ -119,7 +119,7 @@ static PyTypeObject hi64vec4IterType = { static PyGLMTypeObject hi64vec4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.i64vec4", /* tp_name */ sizeof(vec<4, glm::i64>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/int8/vec1.h b/PyGLM/types/vec/int8/vec1.h index 1368f0a..ad3a0ff 100644 --- a/PyGLM/types/vec/int8/vec1.h +++ b/PyGLM/types/vec/int8/vec1.h @@ -116,7 +116,7 @@ static PyTypeObject hi8vec1IterType = { static PyGLMTypeObject hi8vec1GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.i8vec1", /* tp_name */ sizeof(vec<1, glm::i8>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/int8/vec2.h b/PyGLM/types/vec/int8/vec2.h index fcc01e4..ee19ff3 100644 --- a/PyGLM/types/vec/int8/vec2.h +++ b/PyGLM/types/vec/int8/vec2.h @@ -117,7 +117,7 @@ static PyTypeObject hi8vec2IterType = { static PyGLMTypeObject hi8vec2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.i8vec2", /* tp_name */ sizeof(vec<2, glm::i8>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/int8/vec3.h b/PyGLM/types/vec/int8/vec3.h index e0d748f..caf6397 100644 --- a/PyGLM/types/vec/int8/vec3.h +++ b/PyGLM/types/vec/int8/vec3.h @@ -118,7 +118,7 @@ static PyTypeObject hi8vec3IterType = { static PyGLMTypeObject hi8vec3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.i8vec3", /* tp_name */ sizeof(vec<3, glm::i8>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/int8/vec4.h b/PyGLM/types/vec/int8/vec4.h index 06c25cd..f0369d5 100644 --- a/PyGLM/types/vec/int8/vec4.h +++ b/PyGLM/types/vec/int8/vec4.h @@ -119,7 +119,7 @@ static PyTypeObject hi8vec4IterType = { static PyGLMTypeObject hi8vec4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.i8vec4", /* tp_name */ sizeof(vec<4, glm::i8>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/uint16/vec1.h b/PyGLM/types/vec/uint16/vec1.h index aa7030d..2ed2fe4 100644 --- a/PyGLM/types/vec/uint16/vec1.h +++ b/PyGLM/types/vec/uint16/vec1.h @@ -116,7 +116,7 @@ static PyTypeObject hu16vec1IterType = { static PyGLMTypeObject hu16vec1GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.u16vec1", /* tp_name */ sizeof(vec<1, glm::u16>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/uint16/vec2.h b/PyGLM/types/vec/uint16/vec2.h index 7e183f2..252edd3 100644 --- a/PyGLM/types/vec/uint16/vec2.h +++ b/PyGLM/types/vec/uint16/vec2.h @@ -117,7 +117,7 @@ static PyTypeObject hu16vec2IterType = { static PyGLMTypeObject hu16vec2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.u16vec2", /* tp_name */ sizeof(vec<2, glm::u16>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/uint16/vec3.h b/PyGLM/types/vec/uint16/vec3.h index 0b8b0be..ffa63ac 100644 --- a/PyGLM/types/vec/uint16/vec3.h +++ b/PyGLM/types/vec/uint16/vec3.h @@ -118,7 +118,7 @@ static PyTypeObject hu16vec3IterType = { static PyGLMTypeObject hu16vec3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.u16vec3", /* tp_name */ sizeof(vec<3, glm::u16>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/uint16/vec4.h b/PyGLM/types/vec/uint16/vec4.h index ce7e0a1..83a980c 100644 --- a/PyGLM/types/vec/uint16/vec4.h +++ b/PyGLM/types/vec/uint16/vec4.h @@ -119,7 +119,7 @@ static PyTypeObject hu16vec4IterType = { static PyGLMTypeObject hu16vec4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.u16vec4", /* tp_name */ sizeof(vec<4, glm::u16>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/uint32/vec1.h b/PyGLM/types/vec/uint32/vec1.h index ad8bff7..3444ebb 100644 --- a/PyGLM/types/vec/uint32/vec1.h +++ b/PyGLM/types/vec/uint32/vec1.h @@ -116,7 +116,7 @@ static PyTypeObject huvec1IterType = { static PyGLMTypeObject huvec1GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.uvec1", /* tp_name */ sizeof(vec<1, glm::u32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/uint32/vec2.h b/PyGLM/types/vec/uint32/vec2.h index 5448913..9e9ca8f 100644 --- a/PyGLM/types/vec/uint32/vec2.h +++ b/PyGLM/types/vec/uint32/vec2.h @@ -117,7 +117,7 @@ static PyTypeObject huvec2IterType = { static PyGLMTypeObject huvec2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.uvec2", /* tp_name */ sizeof(vec<2, glm::u32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/uint32/vec3.h b/PyGLM/types/vec/uint32/vec3.h index 93f4974..e1a0bcb 100644 --- a/PyGLM/types/vec/uint32/vec3.h +++ b/PyGLM/types/vec/uint32/vec3.h @@ -118,7 +118,7 @@ static PyTypeObject huvec3IterType = { static PyGLMTypeObject huvec3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.uvec3", /* tp_name */ sizeof(vec<3, glm::u32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/uint32/vec4.h b/PyGLM/types/vec/uint32/vec4.h index dfec837..597f099 100644 --- a/PyGLM/types/vec/uint32/vec4.h +++ b/PyGLM/types/vec/uint32/vec4.h @@ -119,7 +119,7 @@ static PyTypeObject huvec4IterType = { static PyGLMTypeObject huvec4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.uvec4", /* tp_name */ sizeof(vec<4, glm::u32>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/uint64/vec1.h b/PyGLM/types/vec/uint64/vec1.h index 6f0140a..81485a9 100644 --- a/PyGLM/types/vec/uint64/vec1.h +++ b/PyGLM/types/vec/uint64/vec1.h @@ -116,7 +116,7 @@ static PyTypeObject hu64vec1IterType = { static PyGLMTypeObject hu64vec1GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.u64vec1", /* tp_name */ sizeof(vec<1, glm::u64>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/uint64/vec2.h b/PyGLM/types/vec/uint64/vec2.h index 564a2ed..78aafd0 100644 --- a/PyGLM/types/vec/uint64/vec2.h +++ b/PyGLM/types/vec/uint64/vec2.h @@ -117,7 +117,7 @@ static PyTypeObject hu64vec2IterType = { static PyGLMTypeObject hu64vec2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.u64vec2", /* tp_name */ sizeof(vec<2, glm::u64>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/uint64/vec3.h b/PyGLM/types/vec/uint64/vec3.h index ba8a0da..559cd5d 100644 --- a/PyGLM/types/vec/uint64/vec3.h +++ b/PyGLM/types/vec/uint64/vec3.h @@ -118,7 +118,7 @@ static PyTypeObject hu64vec3IterType = { static PyGLMTypeObject hu64vec3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.u64vec3", /* tp_name */ sizeof(vec<3, glm::u64>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/uint64/vec4.h b/PyGLM/types/vec/uint64/vec4.h index fd657d3..dbdcc70 100644 --- a/PyGLM/types/vec/uint64/vec4.h +++ b/PyGLM/types/vec/uint64/vec4.h @@ -119,7 +119,7 @@ static PyTypeObject hu64vec4IterType = { static PyGLMTypeObject hu64vec4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.u64vec4", /* tp_name */ sizeof(vec<4, glm::u64>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/uint8/vec1.h b/PyGLM/types/vec/uint8/vec1.h index cbe53bb..d7b5227 100644 --- a/PyGLM/types/vec/uint8/vec1.h +++ b/PyGLM/types/vec/uint8/vec1.h @@ -116,7 +116,7 @@ static PyTypeObject hu8vec1IterType = { static PyGLMTypeObject hu8vec1GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.u8vec1", /* tp_name */ sizeof(vec<1, glm::u8>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/uint8/vec2.h b/PyGLM/types/vec/uint8/vec2.h index 5d3dd15..3ef212b 100644 --- a/PyGLM/types/vec/uint8/vec2.h +++ b/PyGLM/types/vec/uint8/vec2.h @@ -117,7 +117,7 @@ static PyTypeObject hu8vec2IterType = { static PyGLMTypeObject hu8vec2GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.u8vec2", /* tp_name */ sizeof(vec<2, glm::u8>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/uint8/vec3.h b/PyGLM/types/vec/uint8/vec3.h index 90b1eb9..aff07f7 100644 --- a/PyGLM/types/vec/uint8/vec3.h +++ b/PyGLM/types/vec/uint8/vec3.h @@ -118,7 +118,7 @@ static PyTypeObject hu8vec3IterType = { static PyGLMTypeObject hu8vec3GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.u8vec3", /* tp_name */ sizeof(vec<3, glm::u8>), /* tp_basicsize */ 0, /* tp_itemsize */ diff --git a/PyGLM/types/vec/uint8/vec4.h b/PyGLM/types/vec/uint8/vec4.h index 0375498..611f77d 100644 --- a/PyGLM/types/vec/uint8/vec4.h +++ b/PyGLM/types/vec/uint8/vec4.h @@ -119,7 +119,7 @@ static PyTypeObject hu8vec4IterType = { static PyGLMTypeObject hu8vec4GLMType = { { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "glm.u8vec4", /* tp_name */ sizeof(vec<4, glm::u8>), /* tp_basicsize */ 0, /* tp_itemsize */