diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-12 04:50:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-12 04:50:58 +0300 |
commit | e757c4a3bec8b0e8d198531a28327332af00a9ba (patch) | |
tree | 4707fd51cffdbe932123a29bbcfe4528fc9c2b55 /source/blender/imbuf/IMB_metadata.h | |
parent | ba8d6ca3dd92eed5d679caa28f5446cd07b8a112 (diff) |
Cleanup: use colon separator after parameter
Helps separate variable names from descriptive text.
Was already used in some parts of the code,
double space and dashes were used elsewhere.
Diffstat (limited to 'source/blender/imbuf/IMB_metadata.h')
-rw-r--r-- | source/blender/imbuf/IMB_metadata.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/imbuf/IMB_metadata.h b/source/blender/imbuf/IMB_metadata.h index 6a29fa01594..0321d5ef0fb 100644 --- a/source/blender/imbuf/IMB_metadata.h +++ b/source/blender/imbuf/IMB_metadata.h @@ -54,11 +54,11 @@ void IMB_metadata_ensure(struct IDProperty **metadata); void IMB_metadata_free(struct IDProperty *metadata); /** Read the field from the image info into the field. - * \param metadata - the IDProperty that contains the metadata - * \param key - the key of the field - * \param value - the data in the field, first one found with key is returned, + * \param metadata: the IDProperty that contains the metadata + * \param key: the key of the field + * \param value: the data in the field, first one found with key is returned, * memory has to be allocated by user. - * \param len - length of value buffer allocated by user. + * \param len: length of value buffer allocated by user. * \return - 1 (true) if metadata is present and value for the key found, 0 (false) otherwise */ bool IMB_metadata_get_field(struct IDProperty *metadata, const char *key, char *value, const size_t len); @@ -66,9 +66,9 @@ bool IMB_metadata_get_field(struct IDProperty *metadata, const char *key, char * /** Set user data in the metadata. * If the field already exists its value is overwritten, otherwise the field * will be added with the given value. - * \param metadata - the IDProperty that contains the metadata - * \param key - the key of the field - * \param value - the data to be written to the field. zero terminated string + * \param metadata: the IDProperty that contains the metadata + * \param key: the key of the field + * \param value: the data to be written to the field. zero terminated string */ void IMB_metadata_set_field(struct IDProperty *metadata, const char *key, const char *value); |