[vala/staging: 2/2] glib-2.0: Add more Error bindings
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging: 2/2] glib-2.0: Add more Error bindings
- Date: Mon, 27 Feb 2017 10:13:38 +0000 (UTC)
commit 36dd077c9c33daf9c6c9e3658491191a5eaa3207
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Feb 26 10:29:36 2017 +0100
glib-2.0: Add more Error bindings
vapi/glib-2.0.vapi | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 6e4391c..dff4a2f 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2352,8 +2352,21 @@ namespace GLib {
public class Error {
[PrintfFormat]
public Error (Quark domain, int code, string format, ...);
+ public Error.literal (Quark domain, int code, string message);
+ [PrintfFormat]
+ public Error.valist (Quark domain, int code, string format, va_list args);
public Error copy ();
public bool matches (Quark domain, int code);
+ [CCode (cname = "g_prefix_error")]
+ public static void prefix (out Error? dest, string format, ...);
+ [CCode (cname = "g_propagate_error")]
+ public static void propagate (out Error? dest, owned Error src);
+ [CCode (cname = "g_propagate_prefixed_error")]
+ public static void propagate_prefixed (out Error? dest, owned Error src, string format, ...);
+ [CCode (cname = "g_set_error")]
+ public static void @set (out Error? dest, Quark domain, int code, string format, ...);
+ [CCode (cname = "g_set_error_literal")]
+ public static void set_literal (out Error? dest, Quark domain, int code, string message);
public Quark domain;
public int code;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]