From 0d8a62c08da87f6cfb5c45a86ee87c414c33323e Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 23 Aug 2013 23:30:09 +0200 Subject: Some more mp_msg conversions Also add a note to mp_msg.h, since it might be not clear which of the two mechanisms is preferred. --- mpvcore/mp_msg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mpvcore') diff --git a/mpvcore/mp_msg.h b/mpvcore/mp_msg.h index 77ae9124c8..7868d9c89d 100644 --- a/mpvcore/mp_msg.h +++ b/mpvcore/mp_msg.h @@ -139,8 +139,8 @@ bool mp_msg_test_log(struct mp_log *log, int lev); char *mp_gtext(const char *string); +// Note: using mp_msg_log or the MP_ERR/... macros is preferred. void mp_msg_va(int mod, int lev, const char *format, va_list va); - void mp_msg(int mod, int lev, const char *format, ... ) PRINTF_ATTRIBUTE(3, 4); void mp_tmsg(int mod, int lev, const char *format, ... ) PRINTF_ATTRIBUTE(3, 4); #define mp_dbg mp_msg -- cgit v1.2.3