[FFmpeg-cvslog] doc/developer.texi: Add variadic macros to allowed C language features
Andreas Rheinhardt
git at videolan.org
Thu Mar 26 20:32:54 EET 2020
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Mon Mar 23 03:26:58 2020 +0100| [ed18ec55773881875cb11305a1df90650743b42a] | committer: Andreas Rheinhardt
doc/developer.texi: Add variadic macros to allowed C language features
They are used in several places like CBS.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ed18ec55773881875cb11305a1df90650743b42a
---
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
More information about the ffmpeg-cvslog
mailing list