[vala/0.52] glib-2.0: Current constants in GLib.Math are part of glib.h
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.52] glib-2.0: Current constants in GLib.Math are part of glib.h
- Date: Wed, 22 Sep 2021 14:14:41 +0000 (UTC)
commit a5c4c47cd24d69f417b4830fd1870695cbdad55f
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Aug 30 09:55:32 2021 +0200
glib-2.0: Current constants in GLib.Math are part of glib.h
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1220
vapi/glib-2.0.vapi | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 9ba837405..66df0a16e 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -1636,28 +1636,28 @@ namespace GLib {
[CCode (lower_case_cprefix = "", cheader_filename = "math.h")]
namespace Math {
- [CCode (cname = "G_E")]
+ [CCode (cname = "G_E", cheader_filename = "glib.h")]
public const double E;
- [CCode (cname = "G_PI")]
+ [CCode (cname = "G_PI", cheader_filename = "glib.h")]
public const double PI;
- [CCode (cname = "G_LN2")]
+ [CCode (cname = "G_LN2", cheader_filename = "glib.h")]
public const double LN2;
- [CCode (cname = "G_LN10")]
+ [CCode (cname = "G_LN10", cheader_filename = "glib.h")]
public const double LN10;
- [CCode (cname = "G_PI_2")]
+ [CCode (cname = "G_PI_2", cheader_filename = "glib.h")]
public const double PI_2;
- [CCode (cname = "G_PI_4")]
+ [CCode (cname = "G_PI_4", cheader_filename = "glib.h")]
public const double PI_4;
- [CCode (cname = "G_SQRT2")]
+ [CCode (cname = "G_SQRT2", cheader_filename = "glib.h")]
public const double SQRT2;
- [CCode (cname = "G_LOG_2_BASE_10")]
+ [CCode (cname = "G_LOG_2_BASE_10", cheader_filename = "glib.h")]
public const double LOG_2_BASE_10;
/* generated from <bits/mathcalls.h> of glibc */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]