Cleanup: rename id to owner_id for python id properties

This is consistent with the naming in `PointerRNA`.
This commit is contained in:
2021-06-14 18:13:19 +02:00
parent 90b0fb135f
commit e9b4de43d8
2 changed files with 9 additions and 9 deletions

View File

@@ -56,14 +56,14 @@ extern PyTypeObject BPy_IDGroup_IterItems_Type;
typedef struct BPy_IDProperty {
PyObject_VAR_HEAD
struct ID *id; /* can be NULL */
struct ID *owner_id; /* can be NULL */
struct IDProperty *prop; /* must be second member */
struct IDProperty *parent;
} BPy_IDProperty;
typedef struct BPy_IDArray {
PyObject_VAR_HEAD
struct ID *id; /* can be NULL */
struct ID *owner_id; /* can be NULL */
struct IDProperty *prop; /* must be second member */
} BPy_IDArray;