summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorMathias Hasselmann <mathias.hasselmann@gmx.de>2007-09-03 18:59:11 +0000
committerMathias Hasselmann <hasselmm@src.gnome.org>2007-09-03 18:59:11 +0000
commitffc76767c23915c789c6c0bf547c477ad85d39ae (patch)
treeae5edc6b58eeeac770823361dbae63fbcb6b5faf /vapi
parent137aade302ca30e5a08a68f93574606356eaefe2 (diff)
downloadvala-ffc76767c23915c789c6c0bf547c477ad85d39ae.tar.gz
add string.to_double
2007-09-03 Mathias Hasselmann <mathias.hasselmann@gmx.de> * vapi/glib-2.0.vala: add string.to_double svn path=/trunk/; revision=579
Diffstat (limited to 'vapi')
-rw-r--r--vapi/glib-2.0.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/vapi/glib-2.0.vala b/vapi/glib-2.0.vala
index 2d4a08098..0eacc724b 100644
--- a/vapi/glib-2.0.vala
+++ b/vapi/glib-2.0.vala
@@ -524,6 +524,8 @@ public class string {
[CCode (cname = "atoi")]
public int to_int ();
+ [CCode (cname = "strtod")]
+ public double to_double (out string endptr = null);
[CCode (cname = "strtoul")]
public ulong to_ulong (out string endptr = null, int _base = 0);
[CCode (cname = "g_ascii_strtoll")]