diff options
author | tradke <tradke@ff385933-4943-42dc-877b-ffc776028de6> | 2003-04-07 20:20:12 +0000 |
---|---|---|
committer | tradke <tradke@ff385933-4943-42dc-877b-ffc776028de6> | 2003-04-07 20:20:12 +0000 |
commit | 4348d097c65b8dc034203603407b557096633807 (patch) | |
tree | 1030356dc9e3760a5a8e34cc8995deb3552df99e /src | |
parent | 3ce72659e50eef002c15b6733e5ffb2d05eee198 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/NaNCheck.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 */ |