From: Michal Hruby Date: Fri, 2 Jul 2010 19:22:08 +0000 (+0200) Subject: glib-2.0: Fix g_regex_replace_eval binding X-Git-Tag: 0.9.3~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddfd5ecb70ef4b32268b98cd3970e2e050fb04e1;p=thirdparty%2Fvala.git glib-2.0: Fix g_regex_replace_eval binding --- 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")]