libavutil/macros.h
9a4c10e3
 /*
8ccc58bb
  * This file is part of FFmpeg.
9a4c10e3
  *
8ccc58bb
  * FFmpeg is free software; you can redistribute it and/or
9a4c10e3
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
  * version 2.1 of the License, or (at your option) any later version.
  *
8ccc58bb
  * FFmpeg is distributed in the hope that it will be useful,
9a4c10e3
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
8ccc58bb
  * License along with FFmpeg; if not, write to the Free Software
9a4c10e3
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 /**
  * @file
  * @ingroup lavu
  * Utility Preprocessor macros
  */
 
 #ifndef AVUTIL_MACROS_H
 #define AVUTIL_MACROS_H
 
 /**
  * @addtogroup preproc_misc Preprocessor String Macros
  *
  * String manipulation macros
  *
  * @{
  */
 
 #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)
 
50078c1c
 #define FFALIGN(x, a) (((x)+(a)-1)&~((a)-1))
 
9a4c10e3
 #endif /* AVUTIL_MACROS_H */