add wl_abort private function

Graphics / Wayland / Wayland - Marek Chalupa [gmail.com] - 16 November 2015 14:58 UTC

On many places in the code we use wl_log + abort or wl_log + assert(0). Replace these with one call to wl_abort, so that we don't mix abort(), assert(0) and we'll save few lines

c7bada0 add wl_abort private function
src/connection.c | 22 +++++++---------------
src/wayland-client.c | 12 ++++--------
src/wayland-private.h | 1 +
src/wayland-util.c | 12 ++++++++++++
tests/sanity-test.c | 7 ++++++-
5 files changed, 30 insertions(+), 24 deletions(-)

Upstream: cgit.freedesktop.org


  • Share