Message ID | 20200323023838.24696-1-andreas.rheinhardt@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [FFmpeg-devel] doc/developer.texi: Add variadic macros to allowed C language features | expand |
Context | Check | Description |
---|---|---|
andriy/ffmpeg-patchwork | success | Make fate finished |
Quoting Andreas Rheinhardt (2020-03-23 03:38:38) > They are used in several places like CBS. > > Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> > --- > doc/developer.texi | 3 +++ > 1 file changed, 3 insertions(+) Looks ok
Anton Khirnov: > Quoting Andreas Rheinhardt (2020-03-23 03:38:38) >> They are used in several places like CBS. >> >> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> >> --- >> doc/developer.texi | 3 +++ >> 1 file changed, 3 insertions(+) > > Looks ok > Applied, thanks. - Andreas
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++)}); +@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
They are used in several places like CBS. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> --- doc/developer.texi | 3 +++ 1 file changed, 3 insertions(+)