From b10be3ff4e9c47671a3948af4c762583f979067c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrg=20Billeter?= Date: Tue, 16 Sep 2008 13:52:11 +0000 Subject: [PATCH] Fix strtod, strtoul, and g_ascii_strtoll bindings, patch by Yu Feng, fixes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2008-09-16 Jürg Billeter * 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 | 7 +++++++ vapi/glib-2.0.vapi | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0bf26a2..5549ee7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2008-09-16 Jürg Billeter + * 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 + * vala/valasemanticanalyzer.vala: * gobject/valaccodegenerator.vala: diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 123ca29..0641f36 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -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 (); -- 2.7.4