[vala/staging] glib-2.0: Add "has_typedef = false" to custom MarkupParser*Func delegates



commit 6139fcfb6f6f0c9cb7694075ceef2277d059eaf9
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Nov 9 15:20:11 2019 +0100

    glib-2.0: Add "has_typedef = false" to custom MarkupParser*Func delegates

 vapi/glib-2.0.vapi | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 84095f1e2..7e55b7bbd 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -4254,14 +4254,15 @@ namespace GLib {
                public void* get_user_data ();
        }
 
+       [CCode (has_typedef = false)]
        public delegate void MarkupParserStartElementFunc (MarkupParseContext context, string element_name, 
[CCode (array_length = false, array_null_terminated = true)] string[] attribute_names, [CCode (array_length = 
false, array_null_terminated = true)] string[] attribute_values) throws MarkupError;
-
+       [CCode (has_typedef = false)]
        public delegate void MarkupParserEndElementFunc (MarkupParseContext context, string element_name) 
throws MarkupError;
-
+       [CCode (has_typedef = false)]
        public delegate void MarkupParserTextFunc (MarkupParseContext context, string text, size_t text_len) 
throws MarkupError;
-
+       [CCode (has_typedef = false)]
        public delegate void MarkupParserPassthroughFunc (MarkupParseContext context, string 
passthrough_text, size_t text_len) throws MarkupError;
-
+       [CCode (has_typedef = false)]
        public delegate void MarkupParserErrorFunc (MarkupParseContext context, Error error);
 
        public struct MarkupParser {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]