diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-28 00:27:19 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-28 00:27:19 +0400 |
commit | d2cab3e8b002ab5c8843190f736c883f35cd6452 (patch) | |
tree | a90b1b7b36ef901e49bf9c47a4bd41a672294126 /source/blender/imbuf | |
parent | 40fca4ed217c3eafe8205e53d404c44b1126952d (diff) |
move bmesh wiki docs into bmesh header and update doxygen.
also have doxygen ignore *.py files and fix some warnings.
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r-- | source/blender/imbuf/intern/IMB_metadata.h | 2 | ||||
-rw-r--r-- | source/blender/imbuf/intern/metadata.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/imbuf/intern/IMB_metadata.h b/source/blender/imbuf/intern/IMB_metadata.h index 9b3a8004c74..3ae1015d6af 100644 --- a/source/blender/imbuf/intern/IMB_metadata.h +++ b/source/blender/imbuf/intern/IMB_metadata.h @@ -71,7 +71,7 @@ int IMB_metadata_get_field(struct ImBuf* img, const char* key, char* value, int * @param value - the data to be written to the field. zero terminated string * @return - 1 (true) if ImageInfo present, 0 (false) otherwise */ -int IMB_metadata_add_field(struct ImBuf* img, const char* key, const char* field); +int IMB_metadata_add_field(struct ImBuf* img, const char* key, const char* value); /** delete the key/field par in the ImMetaData struct. * @param img - the ImBuf that contains the image data diff --git a/source/blender/imbuf/intern/metadata.c b/source/blender/imbuf/intern/metadata.c index e6b6e9aa238..2b6fed59004 100644 --- a/source/blender/imbuf/intern/metadata.c +++ b/source/blender/imbuf/intern/metadata.c @@ -84,7 +84,7 @@ int IMB_metadata_get_field(struct ImBuf* img, const char* key, char* field, int return retval; } -int IMB_metadata_add_field(struct ImBuf* img, const char* key, const char* field) +int IMB_metadata_add_field(struct ImBuf* img, const char* key, const char* value) { ImMetaData *info; ImMetaData *last; @@ -106,7 +106,7 @@ int IMB_metadata_add_field(struct ImBuf* img, const char* key, const char* field last->next = info; } info->key = BLI_strdup(key); - info->value = BLI_strdup(field); + info->value = BLI_strdup(value); return 1; } |