From: Dan F. <dfa...@us...> - 2009-12-09 06:20:03
|
Update of /cvsroot/libexif/libexif/libexif In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv28353/libexif Modified Files: exif-tag.c exif-data.h exif-content.h Log Message: Updated some comments Index: exif-tag.c =================================================================== RCS file: /cvsroot/libexif/libexif/libexif/exif-tag.c,v retrieving revision 1.63 retrieving revision 1.64 diff -u -p -d -r1.63 -r1.64 --- exif-tag.c 25 Nov 2009 18:50:38 -0000 1.63 +++ exif-tag.c 9 Dec 2009 06:19:50 -0000 1.64 @@ -504,7 +504,7 @@ static const struct TagEntry { N_("Indicates the ISO Speed and ISO Latitude of the camera or " "input device as specified in ISO 12232."), { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, - {EXIF_TAG_OECF, "OECF", N_("OECF"), + {EXIF_TAG_OECF, "OECF", N_("Opto-Electronic Conversion Function"), N_("Indicates the Opto-Electronic Conversion Function (OECF) " "specified in ISO 14524. <OECF> is the relationship between " "the camera optical input and the image values."), Index: exif-data.h =================================================================== RCS file: /cvsroot/libexif/libexif/libexif/exif-data.h,v retrieving revision 1.26 retrieving revision 1.27 diff -u -p -d -r1.26 -r1.27 --- exif-data.h 27 Oct 2009 06:06:11 -0000 1.26 +++ exif-data.h 9 Dec 2009 06:19:50 -0000 1.27 @@ -107,7 +107,8 @@ void exif_data_load_data (ExifData /*! Store raw EXIF data representing the #ExifData structure into a memory * buffer. The buffer is allocated by this function and must subsequently be - * freed by the caller. + * freed by the caller using the matching free function as used by the #ExifMem + * in use by this #ExifData. * * \param[in] data EXIF data * \param[out] d pointer to buffer pointer containing raw EXIF data on return Index: exif-content.h =================================================================== RCS file: /cvsroot/libexif/libexif/libexif/exif-content.h,v retrieving revision 1.21 retrieving revision 1.22 diff -u -p -d -r1.21 -r1.22 --- exif-content.h 27 Oct 2009 06:06:11 -0000 1.21 +++ exif-content.h 9 Dec 2009 06:19:50 -0000 1.22 @@ -42,7 +42,7 @@ struct _ExifContent ExifEntry **entries; unsigned int count; - /* Data containing this content */ + /*! Data containing this content */ ExifData *parent; ExifContentPrivate *priv; @@ -57,6 +57,7 @@ void exif_content_free (ExifC /*! Add an EXIF tag to an IFD. * If this tag already exists in the IFD, this function does nothing. + * \pre The "tag" member of the entry must be set on entry. * * \param[out] c IFD * \param[in] entry EXIF entry to add @@ -73,7 +74,7 @@ void exif_content_remove_entry ( /*! Return the #ExifEntry in this IFD corresponding to the given tag. * This is a pointer into a member of the #ExifContent array and must NOT be - * freed by the caller. + * freed or unrefed by the caller. * * \param[in] content EXIF content for an IFD * \param[in] tag EXIF tag to return |