[vala/wip/error-gtype: 4/11] glib-2.0: Annotate error-domains with "has_type_id = false"




commit ad5927f4fcec183cbbe4b4e3e57632892ac31f41
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 c27080263..57ed84238 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2177,6 +2177,7 @@ namespace GLib {
 
        public delegate bool SourceFunc ();
 
+       [CCode (has_type_id = false)]
        public errordomain ThreadError {
                AGAIN;
                public static GLib.Quark quark ();
@@ -2625,6 +2626,7 @@ namespace GLib {
                AGAIN
        }
 
+       [CCode (has_type_id = false)]
        public errordomain IOChannelError {
                FBIG,
                INVAL,
@@ -2961,6 +2963,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,
@@ -3762,6 +3765,7 @@ namespace GLib {
 
        /* Spawning Processes */
 
+       [CCode (has_type_id = false)]
        public errordomain SpawnError {
                FORK,
                READ,
@@ -3883,6 +3887,7 @@ namespace GLib {
 
        /* File Utilities */
 
+       [CCode (has_type_id = false)]
        public errordomain FileError {
                EXIST,
                ISDIR,
@@ -4273,6 +4278,7 @@ namespace GLib {
 
        /* Shell-related Utilities */
 
+       [CCode (has_type_id = false)]
        public errordomain ShellError {
                BAD_QUOTING,
                EMPTY_STRING,
@@ -4288,6 +4294,7 @@ namespace GLib {
 
        /* Commandline option parser */
 
+       [CCode (has_type_id = false)]
        public errordomain OptionError {
                UNKNOWN_OPTION,
                BAD_VALUE,
@@ -4400,6 +4407,7 @@ namespace GLib {
 
        /* Perl-compatible regular expressions */
 
+       [CCode (has_type_id = false)]
        [Version (since = "2.14")]
        public errordomain RegexError {
                COMPILE,
@@ -4566,6 +4574,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,
@@ -4653,6 +4662,7 @@ namespace GLib {
 
        /* Key-value file parser */
 
+       [CCode (has_type_id = false)]
        public errordomain KeyFileError {
                UNKNOWN_ENCODING,
                PARSE,
@@ -4849,6 +4859,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,
@@ -6530,6 +6541,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,
@@ -6622,6 +6634,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]