mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-18 07:00:06 -05:00
spa: utils: add SPA_CONCAT() macro
This commit is contained in:
parent
d26916828d
commit
da7cf84f95
1 changed files with 3 additions and 0 deletions
|
|
@ -23,6 +23,9 @@ extern "C" {
|
||||||
|
|
||||||
#define SPA_STATIC_ASSERT(expr, ...) SPA_STATIC_ASSERT_IMPL(expr, ## __VA_ARGS__, "`" #expr "` evaluated to false")
|
#define SPA_STATIC_ASSERT(expr, ...) SPA_STATIC_ASSERT_IMPL(expr, ## __VA_ARGS__, "`" #expr "` evaluated to false")
|
||||||
|
|
||||||
|
#define SPA_CONCAT_NOEXPAND(a, b) a ## b
|
||||||
|
#define SPA_CONCAT(a, b) SPA_CONCAT_NOEXPAND(a, b)
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue