[vala/0.36] glib-2.0: Bind strcmp0 as GLib.CompareFunc<string?>
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.36] glib-2.0: Bind strcmp0 as GLib.CompareFunc<string?>
- Date: Tue, 13 Aug 2019 15:22:00 +0000 (UTC)
commit afdca26888866d0e95e84e8b88532c8a17db9e91
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Jul 1 11:10:35 2019 +0200
glib-2.0: Bind strcmp0 as GLib.CompareFunc<string?>
Allows proper usage with experimental non-null
Fixes https://gitlab.gnome.org/GNOME/vala/issues/810
vapi/glib-2.0.vapi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 5ff382126..069e1b325 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -4540,7 +4540,7 @@ namespace GLib {
[Version (since = "2.16")]
[CCode (cname = "((GCompareFunc) g_strcmp0)")]
- public static GLib.CompareFunc<string> strcmp;
+ public static GLib.CompareFunc<string?> strcmp;
public delegate G CopyFunc<G> (G src);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]