[Bf-blender-cvs] [cc005670612] refactor-idprop-ui-data: Remove const from int argument in header

Hans Goudey noreply at git.blender.org
Thu Aug 5 21:01:50 CEST 2021


Commit: cc005670612712289894514a0d99df6a4ff736f0
Author: Hans Goudey
Date:   Thu Aug 5 12:55:41 2021 -0500
Branches: refactor-idprop-ui-data
https://developer.blender.org/rBcc005670612712289894514a0d99df6a4ff736f0

Remove const from int argument in header

===================================================================

M	source/blender/makesrna/RNA_access.h

===================================================================

diff --git a/source/blender/makesrna/RNA_access.h b/source/blender/makesrna/RNA_access.h
index cc5f7a73a8a..a4e56652620 100644
--- a/source/blender/makesrna/RNA_access.h
+++ b/source/blender/makesrna/RNA_access.h
@@ -1026,7 +1026,7 @@ char *RNA_property_string_get_alloc(
 void RNA_property_string_set(PointerRNA *ptr, PropertyRNA *prop, const char *value);
 void RNA_property_string_set_bytes(PointerRNA *ptr, PropertyRNA *prop, const char *value, int len);
 int RNA_property_string_length(PointerRNA *ptr, PropertyRNA *prop);
-void RNA_property_string_get_default(PropertyRNA *prop, char *value, const int max_len);
+void RNA_property_string_get_default(PropertyRNA *prop, char *value, int max_len);
 char *RNA_property_string_get_default_alloc(PointerRNA *ptr,
                                             PropertyRNA *prop,
                                             char *fixedbuf,



More information about the Bf-blender-cvs mailing list