diff options
author | schnetter <> | 2002-09-01 12:52:00 +0000 |
---|---|---|
committer | schnetter <> | 2002-09-01 12:52:00 +0000 |
commit | e3dfaf676fd1f5a1958a2ced3c699628721ab394 (patch) | |
tree | 1322ea44bb2531839bd4729d1d62a3ebcf256f4a /Carpet/Carpet/src/carpet_public.h | |
parent | 4fd723849052d46936f9772d3a971809b6aadb6f (diff) |
Fixed quite a few include guard mishaps.
darcs-hash:20020901125223-07bb3-f494618480c1ffc46118365c4c957d7a313d7be9.gz
Diffstat (limited to 'Carpet/Carpet/src/carpet_public.h')
-rw-r--r-- | Carpet/Carpet/src/carpet_public.h | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/Carpet/Carpet/src/carpet_public.h b/Carpet/Carpet/src/carpet_public.h index 1fa8e4fe1..f84ae50fc 100644 --- a/Carpet/Carpet/src/carpet_public.h +++ b/Carpet/Carpet/src/carpet_public.h @@ -1,21 +1,30 @@ -/* $Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/carpet_public.h,v 1.5 2001/12/14 16:39:09 schnetter Exp $ */ +/* $Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/carpet_public.h,v 1.6 2002/09/01 14:52:24 schnetter Exp $ */ #ifndef CARPET_PUBLIC_H #define CARPET_PUBLIC_H #include <mpi.h> -#include "cctk.h" #include "cctk_Arguments.h" -/* Scheduled functions */ -int CarpetParamCheck (CCTK_ARGUMENTS); -int CarpetStartup (void); - -/* Helper functions */ -MPI_Comm CarpetMPIComm (void); -MPI_Datatype CarpetMPIDatatype (int vartype); - -#endif /* ! defined(CARPET_PUBLIC_H) */ +#ifdef __cplusplus +namespace Carpet { + extern "C" { +#endif + + /* Scheduled functions */ + int CarpetParamCheck (CCTK_ARGUMENTS); + int CarpetStartup (void); + + /* Helper functions */ + MPI_Comm CarpetMPIComm (void); + MPI_Datatype CarpetMPIDatatype (int vartype); + +#ifdef __cplusplus + } /* extern "C" */ +} /* namespace Carpet */ +#endif + +#endif /* !defined(CARPET_PUBLIC_H) */ |