From d5e9b91e0aa074b93135300a5e31a6e0a850a18c Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Fri, 25 Feb 2005 00:10:05 +0000 Subject: [PATCH] another no-debug build fix Original commit message from CVS: another no-debug build fix --- gst/gstinfo.c | 11 +++++++++++ gst/gstinfo.h | 6 +++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/gst/gstinfo.c b/gst/gstinfo.c index ac1cd08..d9ee104 100644 --- a/gst/gstinfo.c +++ b/gst/gstinfo.c @@ -1126,6 +1126,17 @@ _gst_info_printf_extension_arginfo (const struct printf_info *info, size_t n, #endif /* HAVE_PRINTF_EXTENSION */ #else /* !GST_DISABLE_GST_DEBUG */ +guint +gst_debug_remove_log_function (GstLogFunction func) +{ + return 0; +} + +guint +gst_debug_remove_log_function_by_data (gpointer data) +{ + return 0; +} gboolean __gst_in_valgrind (void) diff --git a/gst/gstinfo.h b/gst/gstinfo.h index 0916cbe..3e36994 100644 --- a/gst/gstinfo.h +++ b/gst/gstinfo.h @@ -616,9 +616,9 @@ G_CONST_RETURN gchar * #define gst_debug_get_default_threshold() (GST_LEVEL_NONE) #define gst_debug_level_get_name(level) ("NONE") -#define gst_debug_add_log_function(func,data) (FALSE) -#define gst_debug_remove_log_function(func) (0) -#define gst_debug_remove_log_function_by_data(data) (0) +#define gst_debug_add_log_function(func,data) /* NOP */ +guint gst_debug_remove_log_function (GstLogFunction func); +guint gst_debug_remove_log_function_by_data (gpointer data); #define gst_debug_set_active(active) /* NOP */ #define gst_debug_is_active() (FALSE) #define gst_debug_set_colored(colored) /* NOP */ -- 2.7.4