[vlc-commits] libvlc: simplify and clean up external logging API (fixes #8321)
Rémi Denis-Courmont
git at videolan.org
Mon Mar 18 22:15:28 CET 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Mar 18 23:07:53 2013 +0200| [7509458892ff880d6dd227fe3eb16ee0c09c2fe4] | committer: Rémi Denis-Courmont
libvlc: simplify and clean up external logging API (fixes #8321)
- Scope the callback to its instance.
- Avoid leaking the layout of an internal data structure.
- Future-proof passing of extra informations through an opaque pointer.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7509458892ff880d6dd227fe3eb16ee0c09c2fe4
---
include/vlc/libvlc.h | 69 ++++++++++------------------
include/vlc/libvlc_structures.h | 3 --
lib/error.c | 6 ---
lib/libvlc.sym | 5 ++-
lib/libvlc_internal.h | 5 +++
lib/log.c | 94 ++++++++++++++-------------------------
6 files changed, 64 insertions(+), 118 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=7509458892ff880d6dd227fe3eb16ee0c09c2fe4
More information about the vlc-commits
mailing list