[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-commits] master 96de95c 4/4: lib/ under version c

From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 96de95c 4/4: lib/ under version control
Date: Fri, 23 Sep 2016 15:28:00 +0000 (UTC)

branch: master
commit 96de95c7d6af8ef82e0e5fc308250b81cfd3e2c6
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>

    lib/ under version control
    Through `.gitignore', we ask Git to ignore files ending in `.in'. However,
    `lib/' must not be ignored and is considered part of the
    source: we use it go generate the installed `gnuastro.h' header. This had
    not been recognized before since no `git clean -fxd' was done since we
    created this file. So with this commit, this file is now also version
 lib/ |   61 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)

diff --git a/lib/ b/lib/
new file mode 100644
index 0000000..15fdc9b
--- /dev/null
+++ b/lib/
@@ -0,0 +1,61 @@
+Functions dealing with general aspects of all Gnuastro.
+Original author:
+     Mohammad Akhlaghi <address@hidden>
+Contributing author(s):
+Copyright (C) 2016, Free Software Foundation, Inc.
+Gnuastro is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation, either version 3 of the License, or (at your
+option) any later version.
+Gnuastro is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+General Public License for more details.
+You should have received a copy of the GNU General Public License
+along with Gnuastro. If not, see <>.
+#ifndef __GAL_GNUASTRO_H__
+#define __GAL_GNUASTRO_H__
+/* Include other headers if necessary here. Note that other header files
+   must be included before the C++ preparations below */
+/* Macros. In, the values in `@' --- `@'', will be replaced
+   with installation specific values. */
+/* C++ Preparations */
+#undef __BEGIN_C_DECLS
+#undef __END_C_DECLS
+#ifdef __cplusplus
+# define __BEGIN_C_DECLS extern "C" {
+# define __END_C_DECLS }
+# define __BEGIN_C_DECLS                /* empty */
+# define __END_C_DECLS                  /* empty */
+/* End of C++ preparations */
+/* Actual header contants (the above were for the Pre-processor). */
+__BEGIN_C_DECLS  /* From C++ preparations */
+__END_C_DECLS    /* From C++ preparations */
+#endif           /* __GAL_GNUASTRO_H__ */

reply via email to

[Prev in Thread] Current Thread [Next in Thread]