[vala/staging] 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/staging] glib-2.0: Current constants in GLib.Math are part of glib.h
- Date: Mon, 30 Aug 2021 07:57:21 +0000 (UTC)
commit ab74496e176e8bcba9b6cdc115381deaeb4ba092
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 161c9da6e..a86b81df0 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]