changeset 823:d6e37d18a0ff libavutil

Add macro AV_JOIN() for joining two tokens into one
author mru
date Wed, 27 Jan 2010 17:38:53 +0000
parents a1680eca3e52
children 14e19b1c0cd5
files avutil.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/avutil.h	Fri Jan 22 03:25:25 2010 +0000
+++ b/avutil.h	Wed Jan 27 17:38:53 2010 +0000
@@ -29,6 +29,10 @@
 
 #define AV_STRINGIFY(s)         AV_TOSTRING(s)
 #define AV_TOSTRING(s) #s
+
+#define AV_GLUE(a, b) a ## b
+#define AV_JOIN(a, b) AV_GLUE(a, b)
+
 #define AV_PRAGMA(s) _Pragma(#s)
 
 #define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c)