Re: [PATCH wayland 1/4] scanner: use c99 initializers for the wl_interface * array

2018-02-13 Thread Daniel Stone
Hi Emil, Discussing the scanner symbol visibility patch made me realise that I never replied here. On 15 September 2017 at 15:39, Pekka Paalanen wrote: > On Wed, 30 Aug 2017 16:33:15 +0100 Emil Velikov > wrote: >> Allows us to remove the explicit NULL init, keeping the list shorter and >> easie

Re: [PATCH wayland 1/4] scanner: use c99 initializers for the wl_interface * array

2017-09-15 Thread Pekka Paalanen
On Wed, 30 Aug 2017 16:33:15 +0100 Emil Velikov wrote: > On 30 August 2017 at 16:21, Emil Velikov wrote: > > From: Emil Velikov > > > > Allows us to remove the explicit NULL init, keeping the list shorter and > > easier to read. > > Hi Emil, looks like all of these patches change the scanne

Re: [PATCH wayland 1/4] scanner: use c99 initializers for the wl_interface * array

2017-08-30 Thread Emil Velikov
On 30 August 2017 at 16:21, Emil Velikov wrote: > From: Emil Velikov > > Allows us to remove the explicit NULL init, keeping the list shorter and > easier to read. > Note: As the trailing NULL entries will be omitted, the actual array size will be smaller as-is. Not sure if/how much that would ma

[PATCH wayland 1/4] scanner: use c99 initializers for the wl_interface * array

2017-08-30 Thread Emil Velikov
From: Emil Velikov Allows us to remove the explicit NULL init, keeping the list shorter and easier to read. Signed-off-by: Emil Velikov --- src/scanner.c | 26 +- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/src/scanner.c b/src/scanner.c index c345ed6.