]> granicus.if.org Git - taglib/commitdiff
Mark some variables and functions deprecated.
authorTsuda Kageyu <tsuda.kageyu@gmail.com>
Wed, 18 Nov 2015 01:29:25 +0000 (10:29 +0900)
committerTsuda Kageyu <tsuda.kageyu@gmail.com>
Wed, 18 Nov 2015 01:29:25 +0000 (10:29 +0900)
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.

taglib/toolkit/tbytevector.h
taglib/toolkit/tstring.h

index 98b5d8b5060dc8b69e469ab81926a55df955fc9f..00b833f53d6dfcfe550fc8f79e78e31db472dea8 100644 (file)
@@ -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;
 
     /*!
index a2ee19ff4bf4d3ddb9a2018138fe7ef02e487db9..2263e5e4011e648e61333a19fd5574715e028d74 100644 (file)
@@ -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: