mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
move some code around to avoid warnings
Original commit message from CVS: move some code around to avoid warnings
This commit is contained in:
parent
2fed56b4a8
commit
d9efd29627
1 changed files with 6 additions and 7 deletions
|
@ -458,11 +458,6 @@ extern GHashTable *__gst_function_pointers;
|
|||
#if GST_DEBUG_ENABLED
|
||||
#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
|
||||
#define GST_DEBUG_FUNCPTR(ptr) (ptr)
|
||||
#define GST_DEBUG_FUNCPTR_NAME(ptr) ""
|
||||
#endif
|
||||
|
||||
static inline void *
|
||||
_gst_debug_register_funcptr (void *ptr, gchar *ptrname)
|
||||
{
|
||||
|
@ -473,6 +468,10 @@ _gst_debug_register_funcptr (void *ptr, gchar *ptrname)
|
|||
}
|
||||
|
||||
gchar *_gst_debug_nameof_funcptr (void *ptr);
|
||||
#else
|
||||
#define GST_DEBUG_FUNCPTR(ptr) (ptr)
|
||||
#define GST_DEBUG_FUNCPTR_NAME(ptr) ""
|
||||
#endif
|
||||
|
||||
void gst_debug_print_stack_trace (void);
|
||||
|
||||
|
|
Loading…
Reference in a new issue