[SCM] CERNLIB is a suite of data analysis tools and libraries created for use in physics experiments, but also with applications to other fields such as the biological sciences branch, debian-patches/2006-dfsg3-0, updated. cda72ebfe00236b43ba813e81921af4f37b14b5c

Bastien ROUCARIÈS roucaries.bastien at gmail.com
Mon Mar 14 21:53:06 UTC 2011


The following commit has been merged in the debian-patches/2006-dfsg3-0 branch:
commit 5e8405e5528dfc97c02d0b501e4b4103c02597b0
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Thu Mar 10 18:14:38 2011 +0100

    Improve cfortran minuit.h header files
    
    Protect against multiple inclusion and add explicit dependency on
    cfortran.h to the CERNLIB C headers. Allow to be include from c++
    
    from: Kevin B. McCarty <kmccarty at debian.org>

diff --git a/src/cfortran/minuit.h b/src/cfortran/minuit.h
index 3e134fb..8cf7ec1 100644
--- a/src/cfortran/minuit.h
+++ b/src/cfortran/minuit.h
@@ -1,3 +1,11 @@
+#ifndef _MINUIT_H
+#define _MINUIT_H
+#include <cfortran/cfortran.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  *  Interface to minuit using cfortran.h
  *
@@ -190,3 +198,9 @@ PROTOCCALLSFSUB0(MNWERR,mnwerr)
 
 PROTOCCALLSFSUB0(STAND,stand)
 #define STAND() CCALLSFSUB0(STAND,stand)
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+#endif /* #ifndef _MINUIT_H */

-- 
CERNLIB is a suite of data analysis tools and libraries created for use in physics experiments, but also with applications to other fields such as the biological sciences



More information about the debian-science-commits mailing list