Skip to content

Commit

Permalink
glib-2.0: Add "has_typedef = false" to custom MarkupParser*Func deleg…
Browse files Browse the repository at this point in the history
…ates
  • Loading branch information
ricotz committed Nov 11, 2019
1 parent 1decbe3 commit f7546a2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions vapi/glib-2.0.vapi
Expand Up @@ -4167,14 +4167,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 {
Expand Down

0 comments on commit f7546a2

Please sign in to comment.