[vala] glib-2.0: Use locale-independent g_ascii_strtod



commit b3c77a1eb56e8477d61f1630ffb58f8c9256b31b
Author: Jürg Billeter <j bitron ch>
Date:   Sun Jul 12 16:14:15 2009 +0200

    glib-2.0: Use locale-independent g_ascii_strtod

 vapi/glib-2.0.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 96da884..c7eb75d 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -891,7 +891,7 @@ public class string {
 	public int to_int ();
 	[CCode (cname = "atol")]
 	public long to_long ();
-	[CCode (cname = "strtod")]
+	[CCode (cname = "g_ascii_strtod")]
 	public double to_double (out weak string endptr = null);
 	[CCode (cname = "strtoul")]
 	public ulong to_ulong (out weak string endptr = null, int _base = 0);



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