From: Tsuda Kageyu Date: Wed, 18 Nov 2015 01:29:25 +0000 (+0900) Subject: Mark some variables and functions deprecated. X-Git-Tag: v1.11beta~142 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f3844114abba69b8e03c9f914846a699619bec4;p=taglib 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. --- diff --git a/taglib/toolkit/tbytevector.h b/taglib/toolkit/tbytevector.h index 98b5d8b5..00b833f5 100644 --- a/taglib/toolkit/tbytevector.h +++ b/taglib/toolkit/tbytevector.h @@ -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; /*! diff --git a/taglib/toolkit/tstring.h b/taglib/toolkit/tstring.h index a2ee19ff..2263e5e4 100644 --- a/taglib/toolkit/tstring.h +++ b/taglib/toolkit/tstring.h @@ -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: