[FFmpeg-cvslog] r21482 - trunk/libavutil/avutil.h

mru subversion
Wed Jan 27 18:38:54 CET 2010


Author: mru
Date: Wed Jan 27 18:38:53 2010
New Revision: 21482

Log:
Add macro AV_JOIN() for joining two tokens into one

Modified:
   trunk/libavutil/avutil.h

Modified: trunk/libavutil/avutil.h
==============================================================================
--- trunk/libavutil/avutil.h	Wed Jan 27 14:30:05 2010	(r21481)
+++ trunk/libavutil/avutil.h	Wed Jan 27 18:38:53 2010	(r21482)
@@ -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)



More information about the ffmpeg-cvslog mailing list