[vala/wip/error-gtype: 191/197] glib-2.0: Annotate error-domains with "has_type_id = false"
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/error-gtype: 191/197] glib-2.0: Annotate error-domains with "has_type_id = false"
- Date: Tue, 21 Jan 2020 12:43:18 +0000 (UTC)
commit 4dbaf936fe4d30c633c5834f4b3d530e76ab77ad
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue Oct 15 08:18:45 2019 +0200
glib-2.0: Annotate error-domains with "has_type_id = false"
vapi/glib-2.0.vapi | 13 +++++++++++++
1 file changed, 13 insertions(+)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 255f0834a..0ee04830a 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2092,6 +2092,7 @@ namespace GLib {
public delegate bool SourceFunc ();
+ [CCode (has_type_id = false)]
public errordomain ThreadError {
AGAIN;
public static GLib.Quark quark ();
@@ -2511,6 +2512,7 @@ namespace GLib {
AGAIN
}
+ [CCode (has_type_id = false)]
public errordomain IOChannelError {
FBIG,
INVAL,
@@ -2797,6 +2799,7 @@ namespace GLib {
public static string canonicalize (string filename, string? relative_to = null);
}
+ [CCode (has_type_id = false)]
public errordomain ConvertError {
NO_CONVERSION,
ILLEGAL_SEQUENCE,
@@ -3582,6 +3585,7 @@ namespace GLib {
/* Spawning Processes */
+ [CCode (has_type_id = false)]
public errordomain SpawnError {
FORK,
READ,
@@ -3698,6 +3702,7 @@ namespace GLib {
/* File Utilities */
+ [CCode (has_type_id = false)]
public errordomain FileError {
EXIST,
ISDIR,
@@ -3950,6 +3955,7 @@ namespace GLib {
/* Shell-related Utilities */
+ [CCode (has_type_id = false)]
public errordomain ShellError {
BAD_QUOTING,
EMPTY_STRING,
@@ -3965,6 +3971,7 @@ namespace GLib {
/* Commandline option parser */
+ [CCode (has_type_id = false)]
public errordomain OptionError {
UNKNOWN_OPTION,
BAD_VALUE,
@@ -4072,6 +4079,7 @@ namespace GLib {
/* Perl-compatible regular expressions */
+ [CCode (has_type_id = false)]
[Version (since = "2.14")]
public errordomain RegexError {
COMPILE,
@@ -4238,6 +4246,7 @@ namespace GLib {
/* Simple XML Subset Parser
See http://live.gnome.org/Vala/MarkupSample for an example */
+ [CCode (has_type_id = false)]
public errordomain MarkupError {
BAD_UTF8,
EMPTY,
@@ -4324,6 +4333,7 @@ namespace GLib {
/* Key-value file parser */
+ [CCode (has_type_id = false)]
public errordomain KeyFileError {
UNKNOWN_ENCODING,
PARSE,
@@ -4496,6 +4506,7 @@ namespace GLib {
public bool move_item (string old_uri, string new_uri) throws BookmarkFileError;
}
+ [CCode (has_type_id = false)]
public errordomain BookmarkFileError {
INVALID_URI,
INVALID_VALUE,
@@ -5967,6 +5978,7 @@ namespace GLib {
public static void parse_error_print_context (GLib.VariantParseError error, string
source_str);
}
+ [CCode (has_type_id = false)]
[Version (since = "2.24")]
public errordomain VariantParseError {
FAILED,
@@ -6059,6 +6071,7 @@ namespace GLib {
});
}
+ [CCode (has_type_id = false)]
[Version (since = "2.54")]
public errordomain NumberParserError {
INVALID,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]