[vala] glib-2.0: Add g_strrstr and g_strrstr_len bindings
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: Add g_strrstr and g_strrstr_len bindings
- Date: Tue, 11 May 2010 15:12:09 +0000 (UTC)
commit 62ba82842b436608b7b90affbd270122efd2f82e
Author: Michal Hruby <michal mhr gmail com>
Date: Tue May 11 17:10:47 2010 +0200
glib-2.0: Add g_strrstr and g_strrstr_len bindings
vapi/glib-2.0.vapi | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 7ff63b0..c689e30 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -839,6 +839,10 @@ public enum NormalizeMode {
public class string {
[CCode (cname = "strstr")]
public unowned string? str (string needle);
+ [CCode (cname = "g_strrstr")]
+ public unowned string? rstr (string needle);
+ [CCode (cname = "g_strrstr_len")]
+ public unowned string? rstr_len (ssize_t haystack_len, string needle);
[CCode (cname = "g_str_has_prefix")]
public bool has_prefix (string prefix);
[CCode (cname = "g_str_has_suffix")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]