[vala] glib-2.0: Include stdlib.h when using abs function family



commit 39d3c4d3d0a0db90b656828eb47726da1d3dbff5
Author: Jürg Billeter <j bitron ch>
Date:   Thu Feb 4 20:00:18 2010 +0100

    glib-2.0: Include stdlib.h when using abs function family

 vapi/glib-2.0.vapi |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index e883c44..7adf3d2 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -108,7 +108,7 @@ public struct int {
 	[CCode (cname = "GINT_TO_POINTER")]
 	public void* to_pointer ();
 
-	[CCode (cname = "abs")]
+	[CCode (cname = "abs", cheader_filename = "stdlib.h")]
 	public int abs ();
 
 	[CCode (cname = "GINT_TO_BE")]
@@ -213,7 +213,7 @@ public struct long {
 	public static long max (long a, long b);
 	[CCode (cname = "CLAMP")]
 	public long clamp (long low, long high);
-	[CCode (cname = "labs")]
+	[CCode (cname = "labs", cheader_filename = "stdlib.h")]
 	public long abs ();
 
 	[CCode (cname = "GLONG_TO_BE")]
@@ -513,7 +513,7 @@ public struct int64 {
 	public static int64 max (int64 a, int64 b);
 	[CCode (cname = "CLAMP")]
 	public int64 clamp (int64 low, int64 high);
-	[CCode (cname = "llabs")]
+	[CCode (cname = "llabs", cheader_filename = "stdlib.h")]
 	public int64 abs ();
 
 	[CCode (cname = "GINT64_TO_BE")]



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