Browse Source

msg_...: default value for MODULE_STRING

This was often confusing external plugin authors.
pull/7/head
Rémi Denis-Courmont 13 years ago
parent
commit
2ff0bceaa7
  1. 4
      include/vlc_messages.h

4
include/vlc_messages.h

@ -77,6 +77,10 @@ VLC_API void vlc_vaLog(vlc_object_t *, int,
#define msg_Dbg( p_this, ... ) \
vlc_Log( VLC_OBJECT(p_this), VLC_MSG_DBG, MODULE_STRING, __VA_ARGS__ )
#ifndef MODULE_STRING
# define MODULE_STRING __FILE__
#endif
/**
* @}
*/

Loading…
Cancel
Save