re-enabled the funcptr hash table

Original commit message from CVS:
re-enabled the funcptr hash table
This commit is contained in:
Erik Walthinsen 2001-05-02 20:27:25 +00:00
parent 4bd4712f60
commit 4777090985

View file

@ -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