summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-15 21:16:51 +0100
committerwm4 <wm4@nowhere>2013-12-16 20:02:59 +0100
commit048bb2464dbd9a3f9d53cc0d044c05cb7e21ca5b (patch)
treea88db4b411487f3ee1e29f3fa59a23ca56c1f0f1 /README.md
parentcd064c679c3cfc923daee748b3b7afc15d5d37f1 (diff)
downloadmpv-048bb2464dbd9a3f9d53cc0d044c05cb7e21ca5b.tar.bz2
mpv-048bb2464dbd9a3f9d53cc0d044c05cb7e21ca5b.tar.xz
mp_msg: define a bunch of convenience macros
In order to use bare mp_log contexts, I find myself creating dummy structs (with a single "log" field) to use the MP_ERR() etc. macros, which hardcode the idiom that a context struct has a log field. On the other hand, just using mp_msg_log() is too much typing (and I want to rename it to mp_msg() when the transition is done), so it seems nice to have message printing macros that use mp_log directly.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions