[vala] glib-2.0: Add string.char_count
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: Add string.char_count
- Date: Sat, 15 Jan 2011 17:47:10 +0000 (UTC)
commit 901023160085a3b0bd91f86673a31a5d8d2f9fbb
Author: Jürg Billeter <j bitron ch>
Date: Sat Jan 15 18:32:36 2011 +0100
glib-2.0: Add string.char_count
vapi/glib-2.0.vapi | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 56b83dd..6c726f7 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -1,6 +1,6 @@
/* glib-2.0.vala
*
- * Copyright (C) 2006-2010 Jürg Billeter
+ * Copyright (C) 2006-2011 Jürg Billeter
* Copyright (C) 2006-2008 Raffaele Sandrini
* Copyright (C) 2007 Mathias Hasselmann
*
@@ -1199,7 +1199,7 @@ public class string {
}
[CCode (cname = "g_utf8_strlen")]
- long utf8_strlen (ssize_t max);
+ public int char_count (ssize_t max = -1);
public int length {
[CCode (cname = "strlen")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]