diff options
Diffstat (limited to 'src/slab.h')
-rw-r--r-- | src/slab.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,6 +4,8 @@ #define SLAB_H #ifdef __cplusplus +namespace Slab +{ extern "C" { #endif @@ -122,7 +124,8 @@ Slab_MultiTransfer (cGH const * CCTK_RESTRICT void * CCTK_RESTRICT const * CCTK_RESTRICT const dstptrs); #ifdef __cplusplus -} +} /* extern "C" */ +} /* namespace Slab */ #endif #endif /* defined SLAB_H */ |