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")]