Fix #106047, compilation problem with DEBUG disabled

Original commit message from CVS:
Fix #106047, compilation problem with DEBUG disabled
This commit is contained in:
Wim Taymans 2003-04-04 20:03:30 +00:00
parent f73fac3d8a
commit 3d3d5be932

View file

@ -352,8 +352,6 @@ void gst_default_info_handler (gint category,gboolean incore,
gint line,const gchar *debug_string,
void *element,gchar *string);
void * _gst_debug_register_funcptr (void *ptr, gchar *ptrname);
extern GstInfoHandler _gst_info_handler;
extern guint32 _gst_info_categories;
@ -458,13 +456,11 @@ extern GstErrorHandler _gst_error_handler;
#endif
/********** function pointer stuff **********/
extern GHashTable *__gst_function_pointers;
#if GST_DEBUG_ENABLED
void* _gst_debug_register_funcptr (void *ptr, gchar *ptrname);
gchar* _gst_debug_nameof_funcptr (void *ptr);
#define GST_DEBUG_FUNCPTR(ptr) _gst_debug_register_funcptr((void *)(ptr), #ptr)
#define GST_DEBUG_FUNCPTR_NAME(ptr) _gst_debug_nameof_funcptr((void *)ptr)
#else
@ -472,8 +468,6 @@ extern GHashTable *__gst_function_pointers;
#define GST_DEBUG_FUNCPTR_NAME(ptr) ""
#endif /* GST_DEBUG_ENABLED */
gchar *_gst_debug_nameof_funcptr (void *ptr);
void gst_debug_print_stack_trace (void);
#endif /* __GSTINFO_H__ */