From ddfd5ecb70ef4b32268b98cd3970e2e050fb04e1 Mon Sep 17 00:00:00 2001 From: Michal Hruby Date: Fri, 2 Jul 2010 21:22:08 +0200 Subject: [PATCH] glib-2.0: Fix g_regex_replace_eval binding --- vapi/glib-2.0.vapi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 759c2307d..596570a69 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -2955,12 +2955,11 @@ namespace GLib { public string[] split_full (string str, ssize_t string_len = -1, int start_position = 0, RegexMatchFlags match_options = 0, int max_tokens = 0) throws RegexError; public string replace (string str, ssize_t string_len, int start_position, string replacement, RegexMatchFlags match_options = 0) throws RegexError; public string replace_literal (string str, ssize_t string_len, int start_position, string replacement, RegexMatchFlags match_options = 0) throws RegexError; - public string replace_eval (string str, ssize_t string_len, int start_position, RegexMatchFlags match_options = 0, RegexEvalCallback eval, void* user_data) throws RegexError; + public string replace_eval (string str, ssize_t string_len, int start_position, RegexMatchFlags match_options = 0, RegexEvalCallback eval) throws RegexError; public static bool check_replacement (out bool has_references = null) throws RegexError; } - [CCode (has_target = false)] - public delegate bool RegexEvalCallback (MatchInfo match_info, StringBuilder result, void* user_data); + public delegate bool RegexEvalCallback (MatchInfo match_info, StringBuilder result); [Compact] [CCode (free_function = "g_match_info_free")] -- 2.47.3