Fix some comments.

This commit is contained in:
Tsuda Kageyu 2015-08-02 03:24:25 +09:00
parent c0f537a155
commit 0650dc77a1
2 changed files with 9 additions and 6 deletions

View File

@ -79,7 +79,7 @@ namespace TagLib {
Properties::ReadStyle propertiesStyle = Properties::Average);
/*!
* Constructs an APE file from \a file. If \a readProperties is true the
* Constructs an FLAC file from \a file. If \a readProperties is true the
* file's audio properties will also be read.
*
* If this file contains and ID3v2 tag the frames will be created using

View File

@ -85,9 +85,10 @@ namespace TagLib {
/*!
* Constructs a byte vector that copies \a data up to the first null
* byte. The behavior is undefined if \a data is not null terminated.
* This is particularly useful for constructing byte arrays from string
* constants.
* byte. This is particularly useful for constructing byte arrays from
* string constants.
*
* \warning The behavior is undefined if \a data is not null terminated.
*/
ByteVector(const char *data);
@ -550,12 +551,14 @@ namespace TagLib {
ByteVector &operator=(const ByteVector &v);
/*!
* Copies ByteVector \a v.
* Copies a byte \a c.
*/
ByteVector &operator=(char c);
/*!
* Copies ByteVector \a v.
* Copies \a data up to the first null byte.
*
* \warning The behavior is undefined if \a data is not null terminated.
*/
ByteVector &operator=(const char *data);