[Vala] [PATCH] add bindings for g_ascii_strtoull
- From: Philipp Zabel <philipp zabel gmail com>
- To: vala-list gnome org
- Subject: [Vala] [PATCH] add bindings for g_ascii_strtoull
- Date: Tue, 13 Oct 2009 21:10:59 +0200
Hi,
I'm missing to_uint64 from the glib-2.0 string bindings.
regards
Philipp
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index eaea833..8f603f0 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -921,6 +921,8 @@ public class string {
public ulong to_ulong (out weak string endptr = null, int _base = 0);
[CCode (cname = "g_ascii_strtoll")]
public int64 to_int64 (out weak string endptr = null, int _base = 0);
+ [CCode (cname = "g_ascii_strtoull")]
+ public uint64 to_uint64 (out weak string endptr = null, int _base = 0);
public bool to_bool () {
if (this == "true") {
return true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]