From 6139fcfb6f6f0c9cb7694075ceef2277d059eaf9 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Sat, 9 Nov 2019 15:20:11 +0100 Subject: [PATCH] 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 { -- 2.47.2