[vala] glib-2.0: Fix g_regex_replace_eval binding
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: Fix g_regex_replace_eval binding
- Date: Fri, 2 Jul 2010 19:22:58 +0000 (UTC)
commit ddfd5ecb70ef4b32268b98cd3970e2e050fb04e1
Author: Michal Hruby <michal mhr gmail com>
Date: Fri Jul 2 21:22:08 2010 +0200
glib-2.0: Fix g_regex_replace_eval binding
vapi/glib-2.0.vapi | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 759c230..596570a 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")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]