mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
re-enabled the funcptr hash table
Original commit message from CVS: re-enabled the funcptr hash table
This commit is contained in:
parent
4bd4712f60
commit
4777090985
1 changed files with 4 additions and 3 deletions
|
@ -302,11 +302,12 @@ extern GstErrorHandler _gst_error_handler;
|
||||||
/********** function pointer stuff **********/
|
/********** function pointer stuff **********/
|
||||||
extern GHashTable *__gst_function_pointers;
|
extern GHashTable *__gst_function_pointers;
|
||||||
|
|
||||||
#define GST_DEBUG_FUNCPTR(ptr) (ptr)
|
|
||||||
#define GST_DEBUG_FUNCPTR_NAME(ptr) _gst_debug_nameof_funcptr((void *)ptr)
|
|
||||||
|
|
||||||
#if 0
|
#if GST_DEBUG_ENABLED
|
||||||
#define GST_DEBUG_FUNCPTR(ptr) _gst_debug_register_funcptr((void *)(ptr), #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
|
||||||
|
#define GST_DEBUG_FUNCPTR(ptr) (ptr)
|
||||||
#define GST_DEBUG_FUNCPTR_NAME(ptr) ""
|
#define GST_DEBUG_FUNCPTR_NAME(ptr) ""
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue