[vala] glib-2.0: Bug 568177: More GLib.Math constants
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] glib-2.0: Bug 568177: More GLib.Math constants
- Date: Thu, 26 Mar 2009 08:04:47 -0400 (EDT)
commit 987f0c3710634255a56870eba8dbdcf746083a04
Author: Jukka-Pekka Iivonen <jukka-pekka iivonen nokia com>
Date: Thu Mar 26 13:03:15 2009 +0100
glib-2.0: Bug 568177: More GLib.Math constants
---
vapi/glib-2.0.vapi | 19 +++++++++++++++++--
1 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 66493fa..8940c4a 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -949,10 +949,25 @@ namespace GLib {
[CCode (lower_case_cprefix = "", cheader_filename = "math.h")]
namespace Math {
[CCode (cname = "G_E")]
- public static double E;
+ public const double E;
[CCode (cname = "G_PI")]
- public static double PI;
+ public const double PI;
+
+ [CCode (cname = "G_LN2")]
+ public const double LN2;
+
+ [CCode (cname = "G_LN10")]
+ public const double LN10;
+
+ [CCode (cname = "G_PI_2")]
+ public const double PI_2;
+
+ [CCode (cname = "G_PI_4")]
+ public const double PI_4;
+
+ [CCode (cname = "G_SQRT2")]
+ public const double SQRT2;
/* generated from <bits/mathcalls.h> of glibc */
public static double acos (double x);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]