mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +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
|
#define DEBUG 1
|
||||||
#include "gstvaapidebug.h"
|
#include "gstvaapidebug.h"
|
||||||
|
|
||||||
#define CONCAT(a, b) CONCAT_(a, b)
|
#define STRCASEP(p, x) STRCASE(G_PASTE(p, x))
|
||||||
#define CONCAT_(a, b) a##b
|
#define STRCASE(x) case x: return G_STRINGIFY(x)
|
||||||
#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)
|
|
||||||
|
|
||||||
#if VA_CHECK_VERSION (0,40,0)
|
#if VA_CHECK_VERSION (0,40,0)
|
||||||
static gchar *
|
static gchar *
|
||||||
|
|
Loading…
Reference in a new issue