[Vala] [PATCH] add bindings for g_ascii_strtoull



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]