Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
wayland
emit-wl__destroy_stub.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File emit-wl__destroy_stub.patch of Package wayland
From b76a6968fcf3cec1d7f4c30ba67bb44b20c0ff03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= <krh@bitplanet.net> Date: Tue, 13 Aug 2013 20:06:30 +0100 Subject: scanner: Emit wl_*_destroy stub even if interface has a destructor If an interface has a destructor but no 'destroy' method we used to not emit a destroy method. Now with the fix for missing destroy requests for wl_pointer etc we need to emit the local wl_*_destroy always. diff --git a/src/scanner.c b/src/scanner.c index 5124000..d02d865 100644 --- a/src/scanner.c +++ b/src/scanner.c @@ -606,7 +606,7 @@ emit_stubs(struct wl_list *message_list, struct interface *interface) exit(EXIT_FAILURE); } - if (!has_destructor && strcmp(interface->name, "wl_display") != 0) + if (!has_destroy && strcmp(interface->name, "wl_display") != 0) printf("static inline void\n" "%s_destroy(struct %s *%s)\n" "{\n" -- cgit v0.10.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor