Removed obsolete CHECK_PTR and replaced CHECK_PTR/Q_CHECK_PTR with TQ_CHECK_PTR.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/6/head
Michele Calgaro 6 years ago
parent 23b535df5b
commit 7f4d09f200
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -220,7 +220,6 @@ previously disabled, please check these macro variables:
<p> The name of some debugging macro functions has been changed:
<p> <ul>
<li> <tt>ASSERT</tt> becomes <tt>Q_ASSERT</tt>
<li> <tt>CHECK_PTR</tt> becomes <tt>TQ_CHECK_PTR</tt>
</ul>
<p> For the record, undocumented macro variables that are not part of the API
have been changed:

@ -1040,12 +1040,6 @@ Q_EXPORT bool tqt_check_pointer( bool c, const char *, int );
# define TQ_CHECK_PTR(p)
#endif
#if !defined(TQT_NO_COMPAT) // compatibility with TQt 2
# if !defined(CHECK_PTR)
# define CHECK_PTR(x) TQ_CHECK_PTR(x)
# endif
#endif // TQT_NO_COMPAT
enum TQtMsgType { TQtDebugMsg, TQtWarningMsg, TQtFatalMsg };
typedef void (*TQtMsgHandler)(TQtMsgType, const char *);

@ -169,7 +169,6 @@ The name of some debugging macro functions has been changed:
\list
\i \c ASSERT becomes \c Q_ASSERT
\i \c CHECK_PTR becomes \c TQ_CHECK_PTR
\endlist
For the record, undocumented macro variables that are not part of the API

@ -1009,12 +1009,6 @@ Q_EXPORT bool tqt_check_pointer( bool c, const char *, int );
# define TQ_CHECK_PTR(p)
#endif
#if !defined(TQT_NO_COMPAT) // compatibility with TQt 2
# if !defined(CHECK_PTR)
# define CHECK_PTR(x) TQ_CHECK_PTR(x)
# endif
#endif // TQT_NO_COMPAT
enum TQtMsgType { TQtDebugMsg, TQtWarningMsg, TQtFatalMsg };
typedef void (*TQtMsgHandler)(TQtMsgType, const char *);

Loading…
Cancel
Save