diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-06-20 06:50:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-06-20 06:50:12 +0300 |
commit | 73ffb3e067220870f56d234c0b0756209950eb21 (patch) | |
tree | 25a62c629be2e4448baa30968e72a4fd8c4f61f1 /source/blender/blenkernel/BKE_idprop.h | |
parent | d7152244f81dfe965d5ff4990dcaf63f4d142f70 (diff) |
Cleanup: use const args for property name/description access
Diffstat (limited to 'source/blender/blenkernel/BKE_idprop.h')
-rw-r--r-- | source/blender/blenkernel/BKE_idprop.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_idprop.h b/source/blender/blenkernel/BKE_idprop.h index 1272127daa0..dc01e8ea27b 100644 --- a/source/blender/blenkernel/BKE_idprop.h +++ b/source/blender/blenkernel/BKE_idprop.h @@ -110,9 +110,9 @@ bool IDP_InsertToGroup(struct IDProperty *group, void IDP_RemoveFromGroup(struct IDProperty *group, struct IDProperty *prop) ATTR_NONNULL(); void IDP_FreeFromGroup(struct IDProperty *group, struct IDProperty *prop) ATTR_NONNULL(); -IDProperty *IDP_GetPropertyFromGroup(struct IDProperty *prop, +IDProperty *IDP_GetPropertyFromGroup(const struct IDProperty *prop, const char *name) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); -IDProperty *IDP_GetPropertyTypeFromGroup(struct IDProperty *prop, +IDProperty *IDP_GetPropertyTypeFromGroup(const struct IDProperty *prop, const char *name, const char type) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); |