mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-17 21:06:17 +00:00
gstinfo: always define dummy debug category as a function prototype
It does not seem to make sense to define this as a function only if we have varargs macros.
This commit is contained in:
parent
b40c2f8114
commit
e55d18baa2
1 changed files with 1 additions and 5 deletions
|
@ -1179,11 +1179,7 @@ GST_FIXME (const char *format, ...)
|
||||||
|
|
||||||
#define GST_DEBUG_CATEGORY(var) void _gst_debug_dummy_##var (void)
|
#define GST_DEBUG_CATEGORY(var) void _gst_debug_dummy_##var (void)
|
||||||
#define GST_DEBUG_CATEGORY_EXTERN(var) void _gst_debug_dummy_extern_##var (void)
|
#define GST_DEBUG_CATEGORY_EXTERN(var) void _gst_debug_dummy_extern_##var (void)
|
||||||
#if !defined(G_HAVE_GNUC_VARARGS) && !defined(G_HAVE_ISO_VARARGS)
|
#define GST_DEBUG_CATEGORY_STATIC(var) void _gst_debug_dummy_static_##var (void)
|
||||||
#define GST_DEBUG_CATEGORY_STATIC(var) static GstDebugCategory *_gst_debug_dummy_##var = NULL
|
|
||||||
#else
|
|
||||||
#define GST_DEBUG_CATEGORY_STATIC(var) void _gst_debug_dummy_##var (void)
|
|
||||||
#endif
|
|
||||||
#define GST_DEBUG_CATEGORY_INIT(var,name,color,desc) G_STMT_START{ }G_STMT_END
|
#define GST_DEBUG_CATEGORY_INIT(var,name,color,desc) G_STMT_START{ }G_STMT_END
|
||||||
#define GST_DEBUG_CATEGORY_GET(var,name) G_STMT_START{ }G_STMT_END
|
#define GST_DEBUG_CATEGORY_GET(var,name) G_STMT_START{ }G_STMT_END
|
||||||
#define gst_debug_category_free(category) G_STMT_START{ }G_STMT_END
|
#define gst_debug_category_free(category) G_STMT_START{ }G_STMT_END
|
||||||
|
|
Loading…
Reference in a new issue