Cleanup: Use const argument

This commit is contained in:
Campbell Barton
2018-07-26 11:07:56 +10:00
parent 29d1db9ed6
commit 2df27fa6cf
2 changed files with 2 additions and 2 deletions

View File

@@ -800,7 +800,7 @@ bool RNA_struct_bl_idname_ok_or_report(struct ReportList *reports, const char *i
/* Property Information */
const char *RNA_property_identifier(PropertyRNA *prop);
const char *RNA_property_identifier(const PropertyRNA *prop);
const char *RNA_property_description(PropertyRNA *prop);
PropertyType RNA_property_type(PropertyRNA *prop);

View File

@@ -952,7 +952,7 @@ bool RNA_struct_bl_idname_ok_or_report(ReportList *reports, const char *identifi
/* Property Information */
const char *RNA_property_identifier(PropertyRNA *prop)
const char *RNA_property_identifier(const PropertyRNA *prop)
{
return rna_ensure_property_identifier(prop);
}