[vala] glib-2.0: Add binding for g_utf8_offset_to_pointer.
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: Add binding for g_utf8_offset_to_pointer.
- Date: Sat, 4 Sep 2010 00:04:43 +0000 (UTC)
commit 172aec1f1c64545538f9ae49d0965e5093643f03
Author: Evan Nemerson <evan coeus-group com>
Date: Fri Sep 3 17:02:14 2010 -0700
glib-2.0: Add binding for g_utf8_offset_to_pointer.
vapi/glib-2.0.vapi | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index d2b7d03..a81682d 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -977,6 +977,8 @@ public class string {
}
[CCode (cname = "g_utf8_get_char_validated")]
public unichar get_char_validated (ssize_t max_len = -1);
+ [CCode (cname = "g_utf8_offset_to_pointer")]
+ public unowned string utf8_offset (long offset);
public unowned string offset (long offset) {
return (string) ((char*) this + offset);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]