[PATCH weston 1/2] compositor: add plugin-registry

Pekka Paalanen pekka.paalanen at collabora.co.uk
Wed Jun 15 13:54:21 UTC 2016


On Sat,  4 Jun 2016 19:25:04 +0300
Giulio Camuffo <giuliocamuffo at gmail.com> wrote:

> From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> 
> Implement a simple register and lookup for function tables. This is
> intended for plugins to expose APIs to other plugins.
> 
> It has been very hard to arrange a plugin to be able to call into
> another plugin without modifying Weston core to explicitly support each
> case. This patch fixes that.
> 
> The tests all pass.
> 
> Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> ---
>  Makefile.am                  |   8 +++
>  src/compositor.c             |   6 ++
>  src/compositor.h             |   2 +
>  src/plugin-registry.c        | 156 +++++++++++++++++++++++++++++++++++++++++++
>  src/plugin-registry.h        |  55 +++++++++++++++
>  tests/plugin-registry-test.c | 101 ++++++++++++++++++++++++++++
>  6 files changed, 328 insertions(+)
>  create mode 100644 src/plugin-registry.c
>  create mode 100644 src/plugin-registry.h
>  create mode 100644 tests/plugin-registry-test.c

Hi Giulio,

you forgot to add your own S-o-b, which also implies R-b.

Is it ok if I add your Reviewed-by?


Thanks,
pq


More information about the wayland-devel mailing list