diff options
-rw-r--r-- | src/include/cctk_Interp.h | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/src/include/cctk_Interp.h b/src/include/cctk_Interp.h index 376021d0..37801654 100644 --- a/src/include/cctk_Interp.h +++ b/src/include/cctk_Interp.h @@ -20,7 +20,7 @@ extern "C" { #endif -#define REGISTER_INTERP_ARGLIST \ +#define INTERP_REGISTER_ARGLIST \ cGH *, \ int, \ int, \ @@ -44,9 +44,9 @@ int CCTK_InterpArray(cGH *GH, int nOutFields, ...); -int CCTK_GetInterpHandle(const char *interp); +int CCTK_InterpHandle(const char *interp); -int CCTK_RegisterInterpOperator(int (*function)(REGISTER_INTERP_ARGLIST), +int CCTK_InterpRegisterOperator(int (*function)(INTERP_REGISTER_ARGLIST), const char *name); int CCTK_Interp(cGH *GH, @@ -57,6 +57,29 @@ int CCTK_Interp(cGH *GH, int nOutFields, ...); + /* DEPRECATED IN BETA 9 */ +#define REGISTER_INTERP_ARGLIST \ + cGH *, \ + int, \ + int, \ + int, \ + int, \ + int *, \ + void **,\ + int *, \ + void *, \ + void *, \ + void **,\ + int *, \ + void **,\ + int * +int CCTK_GetInterpHandle(const char *interp); +int CCTK_RegisterInterpOperator(int (*function)(REGISTER_INTERP_ARGLIST), + const char *name); + + + /* END DEPRECATED IN BETA 9 */ + #ifdef __cplusplus } #endif |