Expose the new property to the public API.
This commit is contained in:
parent
6f0ada7ffe
commit
346ba063c9
|
@ -1243,7 +1243,16 @@ TIDY_EXPORT int TIDY_CALL tidyGetMessageColumn( TidyMessage tmessage );
|
||||||
** message.
|
** message.
|
||||||
*/
|
*/
|
||||||
TIDY_EXPORT TidyReportLevel TIDY_CALL tidyGetMessageLevel( TidyMessage tmessage );
|
TIDY_EXPORT TidyReportLevel TIDY_CALL tidyGetMessageLevel( TidyMessage tmessage );
|
||||||
|
|
||||||
|
|
||||||
|
/** Get the squelched status of the message, that is, whether or not the
|
||||||
|
** current configuration indicated that this message should be muted.
|
||||||
|
** @param tmessage Specify the message that you are querying.
|
||||||
|
** @result Returns a Bool indicating that the config indicates muting this
|
||||||
|
** message.
|
||||||
|
*/
|
||||||
|
TIDY_EXPORT Bool TIDY_CALL tidyGetMessageIsSquelched( TidyMessage tmessage );
|
||||||
|
|
||||||
/** Get the default format string, which is the format string for the message
|
/** Get the default format string, which is the format string for the message
|
||||||
** in Tidy's default localization (en_us).
|
** in Tidy's default localization (en_us).
|
||||||
** @param tmessage Specify the message that you are querying.
|
** @param tmessage Specify the message that you are querying.
|
||||||
|
|
|
@ -715,7 +715,11 @@ TidyReportLevel TIDY_CALL tidyGetMessageLevel( TidyMessage tmessage )
|
||||||
return TY_(getMessageLevel)(*message);
|
return TY_(getMessageLevel)(*message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Bool TIDY_CALL tidyGetMessageIsSquelched( TidyMessage tmessage )
|
||||||
|
{
|
||||||
|
TidyMessageImpl *message = tidyMessageToImpl(tmessage);
|
||||||
|
return TY_(getMessageIsSquelched)(*message);
|
||||||
|
}
|
||||||
|
|
||||||
ctmbstr TIDY_CALL tidyGetMessageFormatDefault( TidyMessage tmessage )
|
ctmbstr TIDY_CALL tidyGetMessageFormatDefault( TidyMessage tmessage )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue