[FFmpeg-devel] [PATCH] doc/developer.texi: Add variadic macros to allowed C language features

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Mon Mar 23 04:38:38 EET 2020


They are used in several places like CBS.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
 doc/developer.texi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/developer.texi b/doc/developer.texi
index 5c342c9106..51e7299b1d 100644
--- a/doc/developer.texi
+++ b/doc/developer.texi
@@ -131,6 +131,9 @@ compound literals (@samp{x = (struct s) @{ 17, 23 @};}).
 @item
 for loops with variable definition (@samp{for (int i = 0; i < 8; i++)});
 
+ at item
+Variadic macros (@samp{#define ARRAY(nb, ...) (int[nb + 1])@{ nb, __VA_ARGS__ @}});
+
 @item
 Implementation defined behavior for signed integers is assumed to match the
 expected behavior for two's complement. Non representable values in integer
-- 
2.20.1



More information about the ffmpeg-devel mailing list