[vlc-devel] commit: Provide backtrace function within libvlccore ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu Sep 4 19:33:41 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Sep 4 20:36:48 2008 +0300| [e99621579c0964eb65c11a08e56fa4f046d16141] | committer: Rémi Denis-Courmont
Provide backtrace function within libvlccore
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e99621579c0964eb65c11a08e56fa4f046d16141
---
src/libvlc.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/libvlc.h b/src/libvlc.h
index 5940754..729bf1b 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
More information about the vlc-devel
mailing list