[vala/786-add-gir-version-annotation] vala: anotate valaversion file
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/786-add-gir-version-annotation] vala: anotate valaversion file
- Date: Sat, 27 Apr 2019 02:37:41 +0000 (UTC)
commit ecb05993ebc6b370bbfed40aa4f9042a32052add
Author: Daniel Espinosa <esodan gmail com>
Date: Fri Apr 26 21:05:14 2019 -0500
vala: anotate valaversion file
VAPI doesn't include annotations about GIR version.
configure.ac | 1 -
vala/Makefile.am | 2 --
vala/namespace-info.vala.in | 25 -------------------------
vala/valaversion.vala.in | 2 +-
4 files changed, 1 insertion(+), 29 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7d9c993a8..aa8097b23 100644
--- a/configure.ac
+++ b/configure.ac
@@ -217,7 +217,6 @@ AC_CONFIG_FILES([Makefile
gee/Makefile
ccode/Makefile
vala/Makefile
- vala/namespace-info.vala
codegen/Makefile
compiler/Makefile
vapi/Makefile
diff --git a/vala/Makefile.am b/vala/Makefile.am
index a815915e2..6be70557d 100644
--- a/vala/Makefile.am
+++ b/vala/Makefile.am
@@ -25,7 +25,6 @@ lib_LTLIBRARIES = \
$(NULL)
libvala_la_VALASOURCES = \
- namespace-info.vala \
valaaddressofexpression.vala \
valaarraycopymethod.vala \
valaarraycreationexpression.vala \
@@ -225,7 +224,6 @@ libvala@PACKAGE_SUFFIX@.vapi: $(top_srcdir)/gee/gee.vapi $(top_srcdir)/vala/vala
EXTRA_DIST = $(libvala_la_VALASOURCES) vala.vapi vala.vala.stamp vala.h valaversion.vala.in
MAINTAINERCLEANFILES = \
- namespace-info.vala \s
vala.vapi \
vala.h \
$(libvala_la_VALASOURCES:.vala=.c) \
diff --git a/vala/valaversion.vala.in b/vala/valaversion.vala.in
index 6a3289d40..f3942f9fa 100644
--- a/vala/valaversion.vala.in
+++ b/vala/valaversion.vala.in
@@ -19,7 +19,7 @@
* Author:
* Rico Tzschichholz <ricotz ubuntu com>
*/
-
+[CCode (gir_namespace = "Vala", gir_version = "@API_VERSION@", cheader_filename = "vala.h")]
namespace Vala {
/**
* Like get_major_version, but from the headers used at application compile time,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]