From: Evan Nemerson Date: Sun, 14 Mar 2010 19:34:01 +0000 (-0700) Subject: glib-2.0: Use strtol instead of atol for string.to_long X-Git-Tag: 0.8.0~172 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0c260cdc75e73af8273bb31137547338a81d0941;p=thirdparty%2Fvala.git glib-2.0: Use strtol instead of atol for string.to_long --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index bac7126b7..f1f215780 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -911,8 +911,8 @@ public class string { [CCode (cname = "atoi")] public int to_int (); - [CCode (cname = "atol")] - public long to_long (); + [CCode (cname = "strtol")] + public long to_long (out weak string endptr = null, int _base = 0); [CCode (cname = "g_ascii_strtod")] public double to_double (out weak string endptr = null); [CCode (cname = "strtoul")]