diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-07-28 17:17:05 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-07-28 17:17:05 +0000 |
commit | 1d43ab54179b47fa1cac34b5190e1e904cd9b7b2 (patch) | |
tree | 1be4273c531037f39ec1b0d3ee927bffddb24ecb /src | |
parent | 710373fa6ed740b2f2f9f47910de1493c950a792 (diff) |
Added extern "C" declaration
git-svn-id: http://svn.cactuscode.org/flesh/trunk@809 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src')
-rw-r--r-- | src/include/IOMethods.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/IOMethods.h b/src/include/IOMethods.h index 53952b1e..d5607dee 100644 --- a/src/include/IOMethods.h +++ b/src/include/IOMethods.h @@ -6,9 +6,17 @@ struct IOMethod int (*TimeToOutput)(cGH *,int); }; +#ifdef __cplusplus +extern "C" { +#endif + int CCTK_RegisterIOMethod(const char *name); int CCTK_RegisterIOMethodOutputGH(int handle, int (*func)(cGH *)); int CCTK_RegisterIOMethodTimeToOutput(int handle, int (*func)(cGH *, int)); int CCTK_RegisterIOMethodTriggerOutput(int handle, int (*func)(cGH *, int)); int CCTK_RegisterIOMethodOutputVarAs(int handle, int (*func)(cGH *, const char *,const char *)); +#ifdef __cplusplus +} +#endif + |