diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-09-07 19:09:09 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-09-07 19:10:57 +0300 |
commit | 53ca638f2b738af644661bd4fabcf7e3fdf6e73b (patch) | |
tree | 66feecc3906e2038c398b31037238dc3899dd278 /source/blender/python | |
parent | 1291c7add619d5e5f3cf4a6ad2c14827ce74afb6 (diff) |
Cleanup: Clang Tidy, readability-inconsistent-declaration-parameter-name
No functional changes.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index cc981c7c2e1..0980d9df762 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -219,10 +219,10 @@ static void value_id_set(void *id) } static void id_release_weakref_list(struct ID *id, GHash *weakinfo_hash); -static PyObject *id_free_weakref_cb(PyObject *weakinfo_capsule, PyObject *weakref) +static PyObject *id_free_weakref_cb(PyObject *weakinfo_pair, PyObject *weakref) { /* Important to search backwards. */ - GHash *weakinfo_hash = PyCapsule_GetPointer(weakinfo_capsule, NULL); + GHash *weakinfo_hash = PyCapsule_GetPointer(weakinfo_pair, NULL); if (BLI_ghash_len(weakinfo_hash) > 1) { BLI_ghash_remove(weakinfo_hash, weakref, NULL, NULL); |