diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-08 08:32:33 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-08 08:32:33 +0300 |
commit | a3ddcc6b4d11ae45ab3f55afefbfc57fb975d592 (patch) | |
tree | 58aa9489132dc798c17db7ca285eea93b97bd5c4 /source/blender/python/generic | |
parent | 8a9d1f19ab1096b87e0da606c1ad623ac7bc0621 (diff) |
Cleanup: correct PyModuleDef.m_slots reference
Changed in Python 3.5, match Python's internal name.
Diffstat (limited to 'source/blender/python/generic')
-rw-r--r-- | source/blender/python/generic/bgl.c | 2 | ||||
-rw-r--r-- | source/blender/python/generic/bl_math_py_api.c | 2 | ||||
-rw-r--r-- | source/blender/python/generic/blf_py_api.c | 2 | ||||
-rw-r--r-- | source/blender/python/generic/idprop_py_api.c | 4 | ||||
-rw-r--r-- | source/blender/python/generic/imbuf_py_api.c | 4 |
5 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/python/generic/bgl.c b/source/blender/python/generic/bgl.c index 197af75e5d7..36ab1e86d92 100644 --- a/source/blender/python/generic/bgl.c +++ b/source/blender/python/generic/bgl.c @@ -1397,7 +1397,7 @@ static struct PyModuleDef BGL_module_def = { NULL, /* m_doc */ 0, /* m_size */ NULL, /* m_methods */ - NULL, /* m_reload */ + NULL, /* m_slots */ NULL, /* m_traverse */ NULL, /* m_clear */ NULL, /* m_free */ diff --git a/source/blender/python/generic/bl_math_py_api.c b/source/blender/python/generic/bl_math_py_api.c index 0f0a2bf0ed1..19958a99df9 100644 --- a/source/blender/python/generic/bl_math_py_api.c +++ b/source/blender/python/generic/bl_math_py_api.c @@ -133,7 +133,7 @@ static struct PyModuleDef M_bl_math_module_def = { M_bl_math_doc, /* m_doc */ 0, /* m_size */ M_bl_math_methods, /* m_methods */ - NULL, /* m_reload */ + NULL, /* m_slots */ NULL, /* m_traverse */ NULL, /* m_clear */ NULL, /* m_free */ diff --git a/source/blender/python/generic/blf_py_api.c b/source/blender/python/generic/blf_py_api.c index 060b7758ea9..11b71256327 100644 --- a/source/blender/python/generic/blf_py_api.c +++ b/source/blender/python/generic/blf_py_api.c @@ -465,7 +465,7 @@ static struct PyModuleDef BLF_module_def = { BLF_doc, /* m_doc */ 0, /* m_size */ BLF_methods, /* m_methods */ - NULL, /* m_reload */ + NULL, /* m_slots */ NULL, /* m_traverse */ NULL, /* m_clear */ NULL, /* m_free */ diff --git a/source/blender/python/generic/idprop_py_api.c b/source/blender/python/generic/idprop_py_api.c index 3f880da2f56..333ab9487d1 100644 --- a/source/blender/python/generic/idprop_py_api.c +++ b/source/blender/python/generic/idprop_py_api.c @@ -2119,7 +2119,7 @@ static struct PyModuleDef IDProp_types_module_def = { NULL, /* m_doc */ 0, /* m_size */ NULL, /* m_methods */ - NULL, /* m_reload */ + NULL, /* m_slots */ NULL, /* m_traverse */ NULL, /* m_clear */ NULL, /* m_free */ @@ -2168,7 +2168,7 @@ static struct PyModuleDef IDProp_module_def = { IDProp_module_doc, /* m_doc */ 0, /* m_size */ IDProp_methods, /* m_methods */ - NULL, /* m_reload */ + NULL, /* m_slots */ NULL, /* m_traverse */ NULL, /* m_clear */ NULL, /* m_free */ diff --git a/source/blender/python/generic/imbuf_py_api.c b/source/blender/python/generic/imbuf_py_api.c index e6d90c46866..056af83cc49 100644 --- a/source/blender/python/generic/imbuf_py_api.c +++ b/source/blender/python/generic/imbuf_py_api.c @@ -570,7 +570,7 @@ static struct PyModuleDef IMB_module_def = { IMB_doc, /* m_doc */ 0, /* m_size */ IMB_methods, /* m_methods */ - NULL, /* m_reload */ + NULL, /* m_slots */ NULL, /* m_traverse */ NULL, /* m_clear */ NULL, /* m_free */ @@ -614,7 +614,7 @@ static struct PyModuleDef IMB_types_module_def = { IMB_types_doc, /* m_doc */ 0, /* m_size */ NULL, /* m_methods */ - NULL, /* m_reload */ + NULL, /* m_slots */ NULL, /* m_traverse */ NULL, /* m_clear */ NULL, /* m_free */ |