Re: [PATCH] compositor-drm: pass only const strings as backend parameters

2016-05-25 Thread Giulio Camuffo
2016-05-25 10:46 GMT+03:00 Quentin Glidic : > On 24/05/2016 18:50, Giulio Camuffo wrote: >> >> This makes more clear that the backend doesn't take ownership >> of the data and it makes the API more usable. >> >> Signed-off-by: Giulio Camuffo > > > Good idea, but one little flaw. > > > >> --- >> s

Re: [PATCH] compositor-drm: pass only const strings as backend parameters

2016-05-25 Thread Quentin Glidic
On 24/05/2016 18:50, Giulio Camuffo wrote: This makes more clear that the backend doesn't take ownership of the data and it makes the API more usable. Signed-off-by: Giulio Camuffo Good idea, but one little flaw. --- src/compositor-drm.h | 10 +- src/main.c | 18

[PATCH] compositor-drm: pass only const strings as backend parameters

2016-05-24 Thread Giulio Camuffo
This makes more clear that the backend doesn't take ownership of the data and it makes the API more usable. Signed-off-by: Giulio Camuffo --- src/compositor-drm.h | 10 +- src/main.c | 18 -- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/src/c