From: RĂ©mi Denis-Courmont Date: Thu, 4 Sep 2008 17:36:48 +0000 (+0300) Subject: Provide backtrace function within libvlccore X-Git-Tag: 1.0.0-pre1~3565 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=e99621579c0964eb65c11a08e56fa4f046d16141;p=vlc Provide backtrace function within libvlccore --- diff --git a/src/libvlc.h b/src/libvlc.h index 5940754f25..729bf1bead 100644 --- a/src/libvlc.h +++ b/src/libvlc.h @@ -49,6 +49,8 @@ void vlc_threads_end( void ); /* Hopefully, no need to export this. There is a new thread API instead. */ void vlc_thread_cancel (vlc_object_t *); +void vlc_trace (const char *fn, const char *file, unsigned line); +#define vlc_backtrace() vlc_trace(__func__, __FILE__, __LINE__) /* * CPU capabilities