mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
Add some notes about String::isNull() and String::null.
This commit is contained in:
parent
1a942627bf
commit
6b7a2c4cf7
@ -332,7 +332,9 @@ namespace TagLib {
|
||||
* Returns true if this string is null -- i.e. it is a copy of the
|
||||
* String::null string.
|
||||
*
|
||||
* \note A string can be empty and not null.
|
||||
* \note A string can be empty and not null. So do not use this method to
|
||||
* check if the string is empty.
|
||||
*
|
||||
* \see isEmpty()
|
||||
*/
|
||||
bool isNull() const;
|
||||
@ -508,6 +510,9 @@ namespace TagLib {
|
||||
|
||||
/*!
|
||||
* A null string provided for convenience.
|
||||
*
|
||||
* \warning Do not modify this variable. It will mess up the internal state
|
||||
* of TagLib.
|
||||
*/
|
||||
static String null;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user