mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
Mark some variables and functions deprecated.
ByteVector::null, ByteVector::isNull(), String::null, String::isNull() have got marked deprecated. It's dangerous to use them, and they will be removed in taglib2.
This commit is contained in:
parent
76de4234a1
commit
4f3844114a
@ -265,7 +265,10 @@ namespace TagLib {
|
||||
* method to check if the vector is empty.
|
||||
*
|
||||
* \see isEmpty()
|
||||
*
|
||||
* \deprecated
|
||||
*/
|
||||
// BIC: remove
|
||||
bool isNull() const;
|
||||
|
||||
/*!
|
||||
@ -570,7 +573,10 @@ namespace TagLib {
|
||||
*
|
||||
* \warning Do not modify this variable. It will mess up the internal state
|
||||
* of TagLib.
|
||||
*
|
||||
* \deprecated
|
||||
*/
|
||||
// BIC: remove
|
||||
static ByteVector null;
|
||||
|
||||
/*!
|
||||
|
@ -336,7 +336,10 @@ namespace TagLib {
|
||||
* check if the string is empty.
|
||||
*
|
||||
* \see isEmpty()
|
||||
*
|
||||
* \deprecated
|
||||
*/
|
||||
// BIC: remove
|
||||
bool isNull() const;
|
||||
|
||||
/*!
|
||||
@ -513,7 +516,10 @@ namespace TagLib {
|
||||
*
|
||||
* \warning Do not modify this variable. It will mess up the internal state
|
||||
* of TagLib.
|
||||
*
|
||||
* \deprecated
|
||||
*/
|
||||
// BIC: remove
|
||||
static String null;
|
||||
|
||||
protected:
|
||||
|
Loading…
Reference in New Issue
Block a user