[PATCH weston 10/21] libweston: rename weston_output_destroy() to weston_output_release()

Ray, Ian (GE Healthcare) ian.ray at ge.com
Tue Sep 26 06:10:28 UTC 2017


On 22/09/2017, 17.33, "wayland-devel on behalf of Pekka Paalanen" <wayland-devel-bounces at lists.freedesktop.org on behalf of ppaalanen at gmail.com> wrote:
> 
> From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> 
> 'release' is a more appropriate name because the function does not free
> the underlying memory. The main reason for this is that we need the name
> weston_output_destroy() for new API that actually will free also the
> underlying memory.
> 
> Since the function is only used in backends and external backends are
> not a thing, this does not cause libweston major version bump, even
> though it does change the ABI. There is no way external users could have
> successfully used this function.
> 
> Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>

Reviewed-by: Ian Ray <ian.ray at ge.com>




More information about the wayland-devel mailing list