]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Fix strtod, strtoul, and g_ascii_strtoll bindings, patch by Yu Feng, fixes
authorJürg Billeter <j@bitron.ch>
Tue, 16 Sep 2008 13:52:11 +0000 (13:52 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Tue, 16 Sep 2008 13:52:11 +0000 (13:52 +0000)
2008-09-16  Jürg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi:

Fix strtod, strtoul, and g_ascii_strtoll bindings,
patch by Yu Feng, fixes bug 548550

svn path=/trunk/; revision=1773

ChangeLog
vapi/glib-2.0.vapi

index 0bf26a21726e2df5b58453e2fce2e1e6d0cbd562..5549ee76aba0148f1b52f6618b952072472fa633 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-09-16  Jürg Billeter  <j@bitron.ch>
+
+       * vapi/glib-2.0.vapi:
+
+       Fix strtod, strtoul, and g_ascii_strtoll bindings,
+       patch by Yu Feng, fixes bug 548550
+
 2008-09-16  Jürg Billeter  <j@bitron.ch>
 
        * vala/valasemanticanalyzer.vala:
index 123ca29e2ad55c9dfe6d1b75bee667b979fe917b..0641f3626098cfa00fa5a480bfc93884f83c4d75 100644 (file)
@@ -760,11 +760,11 @@ public class string {
        [CCode (cname = "atol")]
        public long to_long ();
        [CCode (cname = "strtod")]
-       public double to_double (out string endptr = null);
+       public double to_double (out weak string endptr = null);
        [CCode (cname = "strtoul")]
-       public ulong to_ulong (out string endptr = null, int _base = 0);
+       public ulong to_ulong (out weak string endptr = null, int _base = 0);
        [CCode (cname = "g_ascii_strtoll")]
-       public int64 to_int64 (out string endptr = null, int _base = 0);
+       public int64 to_int64 (out weak string endptr = null, int _base = 0);
        [CCode (cname = "strlen")]
        public long size ();