summaryrefslogtreecommitdiff
path: root/config.vapi
diff options
context:
space:
mode:
authorVivien Kraus <vivien@planete-kraus.eu>2021-11-24 17:42:16 +0100
committerVivien Kraus <vivien@planete-kraus.eu>2021-12-15 16:09:48 +0100
commit63dbe4ffa62a1ffc8ac4d90d4dd39816ddee8b82 (patch)
tree27a9ae6991c7a731cad2b6e89783df14ec5ea2e7 /config.vapi
parentdfaef68d7d11193d4bf30252030659f04c355f3a (diff)
Use config.vapi to include config.h
Thank you to ricotz on #vala.
Diffstat (limited to 'config.vapi')
-rw-r--r--config.vapi28
1 files changed, 28 insertions, 0 deletions
diff --git a/config.vapi b/config.vapi
new file mode 100644
index 0000000..15d76c7
--- /dev/null
+++ b/config.vapi
@@ -0,0 +1,28 @@
+// disfluid, implementation of the Solid specification
+// Copyright (C) 2021 Vivien Kraus
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+[CCode (cprefix = "", lower_case_cprefix = "", cheader_filename = "config.h")]
+namespace Build {
+ public const string GETTEXT_PACKAGE;
+ public const string PACKAGE;
+ public const string PACKAGE_NAME;
+ public const string PACKAGE_BUGREPORT;
+ public const string PACKAGE_STRING;
+ public const string PACKAGE_URL;
+ public const string PACKAGE_VERSION;
+ public const string VERSION;
+ public const string LOCALEDIR;
+} \ No newline at end of file