[vala/staging: 4/7] glib-2.0: LogField.value field is not generic, make it an array buffer
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging: 4/7] glib-2.0: LogField.value field is not generic, make it an array buffer
- Date: Sun, 7 Mar 2021 14:09:43 +0000 (UTC)
commit 7c76678a85ff48bcb2f56d1b9f6800ff61fb6c99
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Mar 7 15:02:30 2021 +0100
glib-2.0: LogField.value field is not generic, make it an array buffer
vapi/glib-2.0.vapi | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 65ba798cc..ccdbd220b 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2776,11 +2776,12 @@ namespace GLib {
UNHANDLED
}
- [CCode (has_type_id = false, simple_generics = true)]
+ [CCode (has_type_id = false)]
[Version (since = "2.50")]
- public struct LogField<T> {
+ public struct LogField {
public unowned string key;
- public unowned T @value;
+ [CCode (array_length_cname = "length")]
+ public unowned uint8[] @value;
public ssize_t length;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]