Cleanup: use C++ compatible struct declarations for Python API

Also add m_base & ob_base comments.
This commit is contained in:
Campbell Barton
2023-07-16 17:43:31 +10:00
parent ee5501750c
commit d594954bf2
207 changed files with 1116 additions and 388 deletions

View File

@@ -437,7 +437,7 @@ static PyMethodDef bpy_ops_methods[] = {
};
static PyModuleDef bpy_ops_module = {
PyModuleDef_HEAD_INIT,
/*m_base*/ PyModuleDef_HEAD_INIT,
/*m_name*/ "_bpy.ops",
/*m_doc*/ NULL,
/*m_size*/ -1, /* multiple "initialization" just copies the module dict. */