diff mbox series

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

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

Checks

Context Check Description
andriy/ffmpeg-patchwork success Make fate finished

Commit Message

Andreas Rheinhardt March 23, 2020, 2:38 a.m. UTC
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(+)

Comments

Anton Khirnov March 26, 2020, 2:36 p.m. UTC | #1
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
Andreas Rheinhardt March 26, 2020, 6:33 p.m. UTC | #2
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 mbox series

Patch

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