From 4348d097c65b8dc034203603407b557096633807 Mon Sep 17 00:00:00 2001 From: tradke Date: Mon, 7 Apr 2003 20:20:12 +0000 Subject: Enclose function prototypes in '#ifdef __cplusplus' block. This closes PR CactusUtils/1466. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@38 ff385933-4943-42dc-877b-ffc776028de6 --- src/NaNCheck.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/NaNCheck.h b/src/NaNCheck.h index b3ee8de..bdf6649 100644 --- a/src/NaNCheck.h +++ b/src/NaNCheck.h @@ -12,6 +12,11 @@ #ifndef NANCHECKER_NANCHECK_H #define NANCHECKER_NANCHECK_H 1 +#ifdef __cplusplus +extern "C" +{ +#endif + /* prototypes of exported functions */ int NaNChecker_CheckVarsForNaN (const cGH *GH, int report_max, @@ -21,4 +26,8 @@ int NaNChecker_CheckVarsForNaN (const cGH *GH, int NaNChecker_SetVarsToNaN (const cGH *GH, const char *vars); +#ifdef __cplusplus +} +#endif + #endif /* NANCHECKER_NANCHECK_H */ -- cgit v1.2.3