Mercurial > libavutil.hg
changeset 605:5d605aafa09d libavutil
move NULL_IF_CONFIG_SMALL() definition into internal header
author | aurel |
---|---|
date | Thu, 15 Jan 2009 23:01:26 +0000 |
parents | 3c748945c2ad |
children | 69a03cf910a0 |
files | common.h internal.h |
diffstat | 2 files changed, 11 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/common.h Thu Jan 15 22:58:35 2009 +0000 +++ b/common.h Thu Jan 15 23:01:26 2009 +0000 @@ -323,15 +323,4 @@ }\ } -/** - * Returns NULL if CONFIG_SMALL is true otherwise the argument - * without modifications, used to disable the definition of strings - * (for example AVCodec long_names). - */ -#if CONFIG_SMALL -# define NULL_IF_CONFIG_SMALL(x) NULL -#else -# define NULL_IF_CONFIG_SMALL(x) x -#endif - #endif /* AVUTIL_COMMON_H */
--- a/internal.h Thu Jan 15 22:58:35 2009 +0000 +++ b/internal.h Thu Jan 15 23:01:26 2009 +0000 @@ -302,4 +302,15 @@ } #endif /* HAVE_TRUNCF */ +/** + * Returns NULL if CONFIG_SMALL is true otherwise the argument + * without modifications, used to disable the definition of strings + * (for example AVCodec long_names). + */ +#if CONFIG_SMALL +# define NULL_IF_CONFIG_SMALL(x) NULL +#else +# define NULL_IF_CONFIG_SMALL(x) x +#endif + #endif /* AVUTIL_INTERNAL_H */