Commit 1941d9e9 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Move debug function to common.h

parent 6ebbb6c7
......@@ -79,4 +79,16 @@
#include "locking.h"
/*
* Define PLUGIN_TRACE to have the wrapper functions print
* messages to stderr whenever they are called.
*/
#ifdef PLUGIN_TRACE
# include <stdio.h>
# define PLUGINDEBUGSTR(msg) fprintf(stderr, "%s\n", msg)
#else
# define PLUGINDEBUGSTR(msg)
#endif
#endif /* __VLCPLUGIN_H__ */
......@@ -65,17 +65,6 @@
#ifdef USE_GTK
# include <gtk/gtk.h>
#endif
/*
* Define PLUGIN_TRACE to have the wrapper functions print
* messages to stderr whenever they are called.
*/
#ifdef PLUGIN_TRACE
#include <stdio.h>
#define PLUGINDEBUGSTR(msg) fprintf(stderr, "%s\n", msg)
#else
#define PLUGINDEBUGSTR(msg)
#endif
/***********************************************************************
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment