vala r2157 - in trunk: . vapi
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r2157 - in trunk: . vapi
- Date: Mon, 15 Dec 2008 12:03:58 +0000 (UTC)
Author: juergbi
Date: Mon Dec 15 12:03:57 2008
New Revision: 2157
URL: http://svn.gnome.org/viewvc/vala?rev=2157&view=rev
Log:
2008-12-15 JÃrg Billeter <j bitron ch>
* vapi/glib-2.0.vapi:
Add abs, labs, and llabs bindings, patch by Rob Taylor
Modified:
trunk/ChangeLog
trunk/vapi/glib-2.0.vapi
Modified: trunk/vapi/glib-2.0.vapi
==============================================================================
--- trunk/vapi/glib-2.0.vapi (original)
+++ trunk/vapi/glib-2.0.vapi Mon Dec 15 12:03:57 2008
@@ -106,6 +106,9 @@
[CCode (cname = "GINT_TO_POINTER")]
public void* to_pointer ();
+
+ [CCode (cname = "abs")]
+ public int abs ();
}
[SimpleType]
@@ -189,6 +192,8 @@
public static long max (long a, long b);
[CCode (cname = "CLAMP")]
public long clamp (long low, long high);
+ [CCode (cname = "labs")]
+ public long abs ();
}
[SimpleType]
@@ -427,6 +432,8 @@
public static int64 max (int64 a, int64 b);
[CCode (cname = "CLAMP")]
public int64 clamp (int64 low, int64 high);
+ [CCode (cname = "llabs")]
+ public int64 abs ();
}
[SimpleType]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]