mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-13 23:22:54 +00:00
libs: utils: use glib's macros
Don't reinvent the wheel.
This commit is contained in:
parent
e88f349c6f
commit
7c0ec687cd
1 changed files with 2 additions and 6 deletions
|
@ -34,12 +34,8 @@
|
|||
#define DEBUG 1
|
||||
#include "gstvaapidebug.h"
|
||||
|
||||
#define CONCAT(a, b) CONCAT_(a, b)
|
||||
#define CONCAT_(a, b) a##b
|
||||
#define STRINGIFY(x) STRINGIFY_(x)
|
||||
#define STRINGIFY_(x) #x
|
||||
#define STRCASEP(p, x) STRCASE(CONCAT(p, x))
|
||||
#define STRCASE(x) case x: return STRINGIFY(x)
|
||||
#define STRCASEP(p, x) STRCASE(G_PASTE(p, x))
|
||||
#define STRCASE(x) case x: return G_STRINGIFY(x)
|
||||
|
||||
#if VA_CHECK_VERSION (0,40,0)
|
||||
static gchar *
|
||||
|
|
Loading…
Reference in a new issue