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

@@ -461,7 +461,7 @@ static PyMethodDef BLF_methods[] = {
PyDoc_STRVAR(BLF_doc, "This module provides access to Blender's text drawing functions.");
static PyModuleDef BLF_module_def = {
PyModuleDef_HEAD_INIT,
/*m_base*/ PyModuleDef_HEAD_INIT,
/*m_name*/ "blf",
/*m_doc*/ BLF_doc,
/*m_size*/ 0,