From 93551347ff97b507144a18a1137e09a6a4f89c4f Mon Sep 17 00:00:00 2001 From: schnetter Date: Wed, 5 May 2004 19:53:00 +0000 Subject: Wrap in extern "C" for C++ git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@31 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8 --- src/slab.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/slab.h b/src/slab.h index 84c0af1..dfed6ca 100644 --- a/src/slab.h +++ b/src/slab.h @@ -3,6 +3,11 @@ #ifndef SLAB_H #define SLAB_H +#ifdef __cplusplus +extern "C" +{ +#endif + #include "cctk.h" /* @@ -94,4 +99,8 @@ int Slab_Transfer (cGH const * restrict const cctkGH, int const dsttype, void * const dstptr); +#ifdef __cplusplus +} +#endif + #endif /* defined SLAB_H */ -- cgit v1.2.3