Cleanup: correct PyModuleDef.m_slots reference
Changed in Python 3.5, match Python's internal name.
This commit is contained in:
@@ -166,7 +166,7 @@ static struct PyModuleDef M_AppIcons_module_def = {
|
||||
NULL, /* m_doc */
|
||||
0, /* m_size */
|
||||
M_AppIcons_methods, /* m_methods */
|
||||
NULL, /* m_reload */
|
||||
NULL, /* m_slots */
|
||||
NULL, /* m_traverse */
|
||||
NULL, /* m_clear */
|
||||
NULL, /* m_free */
|
||||
|
||||
@@ -168,7 +168,7 @@ static struct PyModuleDef M_AppTimers_module_def = {
|
||||
NULL, /* m_doc */
|
||||
0, /* m_size */
|
||||
M_AppTimers_methods, /* m_methods */
|
||||
NULL, /* m_reload */
|
||||
NULL, /* m_slots */
|
||||
NULL, /* m_traverse */
|
||||
NULL, /* m_clear */
|
||||
NULL, /* m_free */
|
||||
|
||||
@@ -772,7 +772,7 @@ static struct PyModuleDef bpy_proxy_def = {
|
||||
NULL, /* m_doc */
|
||||
0, /* m_size */
|
||||
NULL, /* m_methods */
|
||||
NULL, /* m_reload */
|
||||
NULL, /* m_slots */
|
||||
NULL, /* m_traverse */
|
||||
NULL, /* m_clear */
|
||||
bpy_module_free, /* m_free */
|
||||
|
||||
@@ -26,7 +26,7 @@ static struct PyModuleDef _bpy_path_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 */
|
||||
|
||||
@@ -7868,7 +7868,7 @@ static struct PyModuleDef bpy_types_module_def = {
|
||||
bpy_types_module_doc, /* m_doc */
|
||||
sizeof(struct BPy_TypesModule_State), /* m_size */
|
||||
bpy_types_module_methods, /* m_methods */
|
||||
NULL, /* m_reload */
|
||||
NULL, /* m_slots */
|
||||
NULL, /* m_traverse */
|
||||
NULL, /* m_clear */
|
||||
NULL, /* m_free */
|
||||
|
||||
Reference in New Issue
Block a user