Re: [Vala] [PATCH] add bindings for g_ascii_strtoull



Hi Philipp,

Thanks for the patch. I pushed it to git.

In the future can you put patches as an attachment in bugzilla. With
pasting it in an email it looses formatting and results in more work
to apply it

Thanks

Jaap

On Tue, Oct 13, 2009 at 21:10, Philipp Zabel <philipp zabel gmail com> wrote:
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;

_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]