diff options
author | rhaas <rhaas@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8> | 2009-12-03 16:30:15 +0000 |
---|---|---|
committer | rhaas <rhaas@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8> | 2009-12-03 16:30:15 +0000 |
commit | ae40b2b351ea71ccbe203f71f596cc993dd60c56 (patch) | |
tree | a06fcfac8da671e1c71d5ffc26553291542e34c2 /src/slab.h | |
parent | 7684d49a94c59ab9b3010bd604b8f777d079b3b0 (diff) |
add namespace in slab.cc and slab.h in such a way as to make the PGI
compiler on Kraken compile the code
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@69 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
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 */ |