[vala-extra-vapis] xcb: Fix "missing return statement at end of subroutine body" errors
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala-extra-vapis] xcb: Fix "missing return statement at end of subroutine body" errors
- Date: Sat, 5 Oct 2019 08:50:40 +0000 (UTC)
commit 294ebd3553d6c4d93454895933936ec69e4d5f2a
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sat Oct 5 10:26:09 2019 +0200
xcb: Fix "missing return statement at end of subroutine body" errors
xcb-dri2.vapi | 8 ++++----
xcb-randr.vapi | 36 ++++++++++++++++++------------------
xcb-render.vapi | 4 ++--
xcb-xfixes.vapi | 8 ++++----
xcb.vapi | 16 ++++++++--------
5 files changed, 36 insertions(+), 36 deletions(-)
---
diff --git a/xcb-dri2.vapi b/xcb-dri2.vapi
index 5c96e49..f90ec27 100644
--- a/xcb-dri2.vapi
+++ b/xcb-dri2.vapi
@@ -50,13 +50,13 @@ namespace Xcb {
public GetBuffersCookie vala_get_buffers (Xcb.Drawable drawable, uint32 count, [CCode
(array_length_pos = 2.9, array_length_type = "uint32_t")] uint32[] attachments);
[CCode (cname = "vala_xcb_dri2_get_buffers")]
public GetBuffersCookie get_buffers (Xcb.Drawable drawable, uint32[] attachments) {
- this.vala_get_buffers (drawable, attachments.length, attachments);
+ return this.vala_get_buffers (drawable, attachments.length, attachments);
}
[CCode (cname = "xcb_dri2_get_buffers_unchecked")]
public GetBuffersCookie vala_get_buffers_unchecked (Xcb.Drawable drawable, uint32
count, [CCode (array_length_pos = 2.9, array_length_type = "uint32_t")] uint32[] attachments);
[CCode (cname = "vala_xcb_dri2_get_buffers_unchecked")]
public GetBuffersCookie get_buffers_unchecked (Xcb.Drawable drawable, uint32[]
attachments) {
- this.vala_get_buffers_unchecked (drawable, attachments.length, attachments);
+ return this.vala_get_buffers_unchecked (drawable, attachments.length,
attachments);
}
public GetBuffersReply? get_buffers_reply (GetBuffersCookie cookie, out
Xcb.GenericError? e = null);
@@ -69,13 +69,13 @@ namespace Xcb {
public GetBuffersWithFormatCookie vala_get_buffers_with_format (Xcb.Drawable
drawable, uint32 count, [CCode (array_length_pos = 2.9, array_length_type = "uint32_t")] AttachFormat[]
attachments);
[CCode (cname = "vala_xcb_dri2_get_buffers_with_format")]
public GetBuffersWithFormatCookie get_buffers_with_format (Xcb.Drawable drawable,
AttachFormat[] attachments) {
- this.vala_get_buffers_with_format (drawable, attachments.length, attachments);
+ return this.vala_get_buffers_with_format (drawable, attachments.length,
attachments);
}
[CCode (cname = "xcb_dri2_get_buffers_with_format_unchecked")]
public GetBuffersWithFormatCookie vala_get_buffers_with_format_unchecked
(Xcb.Drawable drawable, uint32 count, [CCode (array_length_pos = 2.9, array_length_type = "uint32_t")]
AttachFormat[] attachments);
[CCode (cname = "vala_xcb_dri2_get_buffers_with_format_unchecked")]
public GetBuffersWithFormatCookie get_buffers_with_format_unchecked (Xcb.Drawable
drawable, AttachFormat[] attachments) {
- this.vala_get_buffers_with_format_unchecked (drawable, attachments.length,
attachments);
+ return this.vala_get_buffers_with_format_unchecked (drawable,
attachments.length, attachments);
}
public GetBuffersWithFormatReply? get_buffers_with_format_reply
(GetBuffersWithFormatCookie cookie, out Xcb.GenericError? e = null);
diff --git a/xcb-randr.vapi b/xcb-randr.vapi
index ea891db..8d05ad9 100644
--- a/xcb-randr.vapi
+++ b/xcb-randr.vapi
@@ -71,28 +71,28 @@ namespace Xcb {
private VoidCookie change_output_property_checked (Output output, Atom property, Atom
type, uint8 format, PropMode mode, uint32 num_units, void* data);
private VoidCookie change_output_property (Output output, Atom property, Atom type,
uint8 format, PropMode mode, uint32 num_units, void* data);
public VoidCookie change_output_property_string_checked (Output output, Atom
property, Atom type, PropMode mode, string value) {
- this.change_output_property_checked (output, property, type, 8, mode,
value.length, value);
+ return this.change_output_property_checked (output, property, type, 8, mode,
value.length, value);
}
public VoidCookie change_output_property_string (Output output, Atom property, Atom
type, PropMode mode, string value) {
- this.change_output_property_checked (output, property, type, 8, mode,
value.length, value);
+ return this.change_output_property_checked (output, property, type, 8, mode,
value.length, value);
}
public VoidCookie change_output_property_int8_checked (Output output, Atom property,
Atom type, PropMode mode, int8[] value) {
- this.change_output_property_checked (output, property, type, 8, mode,
value.length, value);
+ return this.change_output_property_checked (output, property, type, 8, mode,
value.length, value);
}
public VoidCookie change_output_property_int8 (Output output, Atom property, Atom
type, PropMode mode, int8[] value) {
- this.change_output_property_checked (output, property, type, 8, mode,
value.length, value);
+ return this.change_output_property_checked (output, property, type, 8, mode,
value.length, value);
}
public VoidCookie change_output_property_int16_checked (Output output, Atom property,
Atom type, PropMode mode, int16[] value) {
- this.change_output_property_checked (output, property, type, 16, mode,
value.length, value);
+ return this.change_output_property_checked (output, property, type, 16, mode,
value.length, value);
}
public VoidCookie change_output_property_int16 (Output output, Atom property, Atom
type, PropMode mode, int16[] value) {
- this.change_output_property_checked (output, property, type, 16, mode,
value.length, value);
+ return this.change_output_property_checked (output, property, type, 16, mode,
value.length, value);
}
public VoidCookie change_output_property_int32_checked (Output output, Atom property,
Atom type, PropMode mode, int32[] value) {
- this.change_output_property_checked (output, property, type, 32, mode,
value.length, value);
+ return this.change_output_property_checked (output, property, type, 32, mode,
value.length, value);
}
public VoidCookie change_output_property_int32 (Output output, Atom property, Atom
type, PropMode mode, int32[] value) {
- this.change_output_property_checked (output, property, type, 32, mode,
value.length, value);
+ return this.change_output_property_checked (output, property, type, 32, mode,
value.length, value);
}
public VoidCookie delete_output_property_checked (Output output, Atom property);
@@ -106,13 +106,13 @@ namespace Xcb {
private CreateModeCookie vala_create_mode (Window window, ModeInfo mode_info, uint32
name_len, string name);
[CCode (cname = "vala_xcb_randr_create_mode")]
public CreateModeCookie create_mode (Window window, ModeInfo mode_info, string name) {
- this.vala_create_mode (window, mode_info, (uint32) name.length, name);
+ return this.vala_create_mode (window, mode_info, (uint32) name.length, name);
}
[CCode (cname = "xcb_randr_create_mode_unchecked")]
private CreateModeCookie vala_create_mode_unchecked (Window window, ModeInfo
mode_info, uint32 name_len, string name);
[CCode (cname = "vala_xcb_randr_create_mode_unchecked")]
public CreateModeCookie create_mode_unchecked (Window window, ModeInfo mode_info,
string name) {
- this.vala_create_mode_unchecked (window, mode_info, (uint32) name.length,
name);
+ return this.vala_create_mode_unchecked (window, mode_info, (uint32)
name.length, name);
}
public CreateModeReply create_mode_reply (CreateModeCookie cookie, out GenericError?
e = null);
@@ -208,28 +208,28 @@ namespace Xcb {
private VoidCookie change_provider_property_checked (Provider provider, Atom
property, Atom type, uint8 format, PropMode mode, uint32 num_units, void* data);
private VoidCookie change_provider_property (Provider provider, Atom property, Atom
type, uint8 format, PropMode mode, uint32 num_units, void* data);
public VoidCookie change_provider_property_string_checked (Provider provider, Atom
property, Atom type, PropMode mode, string value) {
- this.change_provider_property_checked (provider, property, type, 8, mode,
value.length, value);
+ return this.change_provider_property_checked (provider, property, type, 8,
mode, value.length, value);
}
public VoidCookie change_provider_property_string (Provider provider, Atom property,
Atom type, PropMode mode, string value) {
- this.change_provider_property_checked (provider, property, type, 8, mode,
value.length, value);
+ return this.change_provider_property_checked (provider, property, type, 8,
mode, value.length, value);
}
public VoidCookie change_provider_property_int8_checked (Provider provider, Atom
property, Atom type, PropMode mode, int8[] value) {
- this.change_provider_property_checked (provider, property, type, 8, mode,
value.length, value);
+ return this.change_provider_property_checked (provider, property, type, 8,
mode, value.length, value);
}
public VoidCookie change_provider_property_int8 (Provider provider, Atom property,
Atom type, PropMode mode, int8[] value) {
- this.change_provider_property_checked (provider, property, type, 8, mode,
value.length, value);
+ return this.change_provider_property_checked (provider, property, type, 8,
mode, value.length, value);
}
public VoidCookie change_provider_property_int16_checked (Provider provider, Atom
property, Atom type, PropMode mode, int16[] value) {
- this.change_provider_property_checked (provider, property, type, 16, mode,
value.length, value);
+ return this.change_provider_property_checked (provider, property, type, 16,
mode, value.length, value);
}
public VoidCookie change_provider_property_int16 (Provider provider, Atom property,
Atom type, PropMode mode, int16[] value) {
- this.change_provider_property_checked (provider, property, type, 16, mode,
value.length, value);
+ return this.change_provider_property_checked (provider, property, type, 16,
mode, value.length, value);
}
public VoidCookie change_provider_property_int32_checked (Provider provider, Atom
property, Atom type, PropMode mode, int32[] value) {
- this.change_provider_property_checked (provider, property, type, 32, mode,
value.length, value);
+ return this.change_provider_property_checked (provider, property, type, 32,
mode, value.length, value);
}
public VoidCookie change_provider_property_int32 (Provider provider, Atom property,
Atom type, PropMode mode, int32[] value) {
- this.change_provider_property_checked (provider, property, type, 32, mode,
value.length, value);
+ return this.change_provider_property_checked (provider, property, type, 32,
mode, value.length, value);
}
public VoidCookie delete_provider_property_checked (Provider provider, Atom property);
diff --git a/xcb-render.vapi b/xcb-render.vapi
index c906545..b68c832 100644
--- a/xcb-render.vapi
+++ b/xcb-render.vapi
@@ -107,13 +107,13 @@ namespace Xcb {
private VoidCookie vala_set_picture_filter_checked (Picture picture, uint16
filter_len, string filter, [CCode (array_length_pos = 3.9, array_length_type = "uint32_t")] Fixed[] values);
[CCode (cname = "vala_xcb_render_set_picture_filter_checked")]
public VoidCookie set_picture_filter_checked (Picture picture, string filter, Fixed[]
values) {
- this.vala_set_picture_filter_checked (picture, (uint16) filter.length,
filter, values);
+ return this.vala_set_picture_filter_checked (picture, (uint16) filter.length,
filter, values);
}
[CCode (cname = "xcb_render_set_picture_filter")]
private VoidCookie vala_set_picture_filter (Picture picture, uint16 filter_len,
string filter, [CCode (array_length_pos = 3.9, array_length_type = "uint32_t")] Fixed[] values);
[CCode (cname = "vala_xcb_render_set_picture_filter")]
public VoidCookie set_picture_filter (Picture picture, string filter, Fixed[]? values
= null) {
- this.vala_set_picture_filter (picture, (uint16) filter.length, filter,
values);
+ return this.vala_set_picture_filter (picture, (uint16) filter.length, filter,
values);
}
public VoidCookie create_anim_cursor_checked (Xcb.Cursor cid, [CCode
(array_length_pos = 1.9, array_length_type = "uint32_t")] AnimCursorELT []cursors);
diff --git a/xcb-xfixes.vapi b/xcb-xfixes.vapi
index d60ea4d..59a6cee 100644
--- a/xcb-xfixes.vapi
+++ b/xcb-xfixes.vapi
@@ -103,13 +103,13 @@ namespace Xcb {
public VoidCookie vala_set_cursor_name_checked (Xcb.Cursor cursor, uint16 nbytes,
string name);
[CCode (cname = "vala_xcb_xfixes_set_cursor_name_checked")]
public VoidCookie set_cursor_name_checked (Xcb.Cursor cursor, string name) {
- this.vala_set_cursor_name_checked (cursor, (uint16) name.length, name);
+ return this.vala_set_cursor_name_checked (cursor, (uint16) name.length, name);
}
[CCode (cname = "xcb_xfixes_set_cursor_name")]
public VoidCookie vala_set_cursor_name (Xcb.Cursor cursor, uint16 nbytes, string
name);
[CCode (cname = "vala_xcb_xfixes_set_cursor_name")]
public VoidCookie set_cursor_name (Xcb.Cursor cursor, string name) {
- this.vala_set_cursor_name (cursor, (uint16) name.length, name);
+ return this.vala_set_cursor_name (cursor, (uint16) name.length, name);
}
public GetCursorNameCookie get_cursor_name (Xcb.Cursor cursor);
@@ -127,13 +127,13 @@ namespace Xcb {
public VoidCookie vala_change_cursor_by_name_checked (Xcb.Cursor src, uint16 nbytes,
string name);
[CCode (cname = "vala_xcb_xfixes_change_cursor_by_name_checked")]
public VoidCookie change_cursor_by_name_checked (Xcb.Cursor src, string name) {
- this.vala_change_cursor_by_name_checked (src, (uint16) name.length, name);
+ return this.vala_change_cursor_by_name_checked (src, (uint16) name.length,
name);
}
[CCode (cname = "xcb_xfixes_change_cursor_by_name")]
public VoidCookie vala_change_cursor_by_name (Xcb.Cursor src, uint16 nbytes, string
name);
[CCode (cname = "vala_xcb_xfixes_change_cursor_by_name")]
public VoidCookie change_cursor_by_name (Xcb.Cursor src, string name) {
- this.vala_change_cursor_by_name (src, (uint16) name.length, name);
+ return this.vala_change_cursor_by_name (src, (uint16) name.length, name);
}
public VoidCookie expand_region_checked (Region source, Region destination, uint16
left, uint16 right, uint16 top, uint16 bottom);
diff --git a/xcb.vapi b/xcb.vapi
index 81e2bb0..478182c 100644
--- a/xcb.vapi
+++ b/xcb.vapi
@@ -373,13 +373,13 @@ namespace Xcb {
private VoidCookie vala_image_text_8_checked (uint8 string_len, Drawable drawable, GContext
gc, int16 x, int16 y, string text);
[CCode (cname = "vala_xcb_image_text8_checked")]
public VoidCookie image_text_8_checked (Drawable drawable, GContext gc, int16 x, int16 y,
string text) {
- this.vala_image_text_8_checked ((uint8) text.length, drawable, gc, x, y, text);
+ return this.vala_image_text_8_checked ((uint8) text.length, drawable, gc, x, y, text);
}
[CCode (cname = "xcb_image_text_8")]
private VoidCookie vala_image_text_8 (uint8 string_len, Drawable drawable, GContext gc, int16
x, int16 y, string text);
[CCode (cname = "vala_xcb_image_text8")]
public VoidCookie image_text_8 (Drawable drawable, GContext gc, int16 x, int16 y, string
text) {
- this.vala_image_text_8 ((uint8) text.length, drawable, gc, x, y, text);
+ return this.vala_image_text_8 ((uint8) text.length, drawable, gc, x, y, text);
}
//image_text_16
@@ -411,13 +411,13 @@ namespace Xcb {
private AllocNamedColorCookie vala_alloc_named_color (Colormap cmap, uint16 name_len, string
name);
[CCode (cname = "vala_xcb_alloc_named_color")]
public AllocNamedColorCookie alloc_named_color (Colormap cmap, string name) {
- this.vala_alloc_named_color (cmap, (uint16) name.length, name);
+ return this.vala_alloc_named_color (cmap, (uint16) name.length, name);
}
[CCode (cname = "xcb_alloc_named_color_unchecked")]
private AllocNamedColorCookie vala_alloc_named_color_unchecked (Colormap cmap, uint16
name_len, string name);
[CCode (cname = "vala_xcb_alloc_named_color_unchecked")]
public AllocNamedColorCookie alloc_named_color_unchecked (Colormap cmap, string name) {
- this.vala_alloc_named_color_unchecked (cmap, (uint16) name.length, name);
+ return this.vala_alloc_named_color_unchecked (cmap, (uint16) name.length, name);
}
public AllocNamedColorReply? alloc_named_color_reply (AllocNamedColorCookie cookie, out
GenericError? e = null);
@@ -439,13 +439,13 @@ namespace Xcb {
private VoidCookie vala_store_named_color_checked (ColorFlag flags, Colormap cmap, uint32
pixel, uint16 name_len, string name);
[CCode (cname = "vala_xcb_store_named_color_checked")]
public VoidCookie store_named_color_checked (ColorFlag flags, Colormap cmap, uint32 pixel,
string name) {
- this.vala_store_named_color_checked (flags, cmap, pixel, (uint16) name.length, name);
+ return this.vala_store_named_color_checked (flags, cmap, pixel, (uint16) name.length,
name);
}
[CCode (cname = "xcb_store_named_color")]
private VoidCookie vala_store_named_color (ColorFlag flags, Colormap cmap, uint32 pixel,
uint16 name_len, string name);
[CCode (cname = "vala_xcb_store_named_color")]
public VoidCookie store_named_color (ColorFlag flags, Colormap cmap, uint32 pixel, string
name) {
- this.vala_store_named_color (flags, cmap, pixel, (uint16) name.length, name);
+ return this.vala_store_named_color (flags, cmap, pixel, (uint16) name.length, name);
}
public QueryColorsCookie query_colors (Colormap cmap, [CCode (array_length_pos = 1.9,
array_length_type = "uint32_t")] uint32[] pixels);
@@ -456,13 +456,13 @@ namespace Xcb {
private LookupColorCookie vala_lookup_color (Colormap cmap, uint16 name_len, string name);
[CCode (cname = "vala_xcb_lookup_color")]
public LookupColorCookie lookup_color (Colormap cmap, string name) {
- this.vala_lookup_color (cmap, (uint16) name.length, name);
+ return this.vala_lookup_color (cmap, (uint16) name.length, name);
}
[CCode (cname = "xcb_lookup_color_unchecked")]
private LookupColorCookie vala_lookup_color_unchecked (Colormap cmap, uint16 name_len, string
name);
[CCode (cname = "vala_xcb_lookup_color_unchecked")]
public LookupColorCookie lookup_color_unchecked (Colormap cmap, string name) {
- this.vala_lookup_color_unchecked (cmap, (uint16) name.length, name);
+ return this.vala_lookup_color_unchecked (cmap, (uint16) name.length, name);
}
public LookupColorReply? lookup_color_reply (LookupColorCookie cookie, out GenericError? e =
null);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]