From: Steven Oliver Date: Thu, 16 Jan 2014 21:41:23 +0000 (+0100) Subject: glib-2.0: Add abs() to short type X-Git-Tag: 0.23.2~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69ed59dc5b5b837eb0f6247e79c40817fd38051f;p=thirdparty%2Fvala.git glib-2.0: Add abs() to short type Fixes bug 722067 --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 06051dfd1..db9d1a9cf 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -1,6 +1,6 @@ /* glib-2.0.vala * - * Copyright (C) 2006-2012 Jürg Billeter + * Copyright (C) 2006-2014 Jürg Billeter * Copyright (C) 2006-2008 Raffaele Sandrini * Copyright (C) 2007 Mathias Hasselmann * @@ -202,6 +202,8 @@ public struct short { public static short max (short a, short b); [CCode (cname = "CLAMP")] public short clamp (short low, short high); + [CCode (cname = "abs", cheader_filename = "stdlib.h")] + public static short abs (); } [SimpleType]