diff options
-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 + |