summaryrefslogtreecommitdiff
path: root/src/comm
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-03-22 01:20:33 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-03-22 01:20:33 +0000
commit17ba6876d110847a426f7257d6a673ea6b4d815f (patch)
tree11358c1378a451fef22a8a7ecd84a25dee115131 /src/comm
parent28f602063adcc6e7ec2e0b333eb46016cb323d97 (diff)
Put macros on one line so that Cactus CPP can deal with them
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3593 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/comm')
-rw-r--r--src/comm/Interp.c23
1 files changed, 6 insertions, 17 deletions
diff --git a/src/comm/Interp.c b/src/comm/Interp.c
index 53c9001a..8c5f5493 100644
--- a/src/comm/Interp.c
+++ b/src/comm/Interp.c
@@ -376,11 +376,8 @@ int CCTKi_InterpRegisterOperatorGV(cInterpOperatorGV operator_ptr,
const char *operator_name,
const char *thorn_name)
{
-CCTK_INTERP_REGISTER_FN_BODY(operator_ptr,
- operator_name,
- thorn_name,
- "CCTKi_InterpRegisterOperatorGV",
- interp_operator_GV) /* no semicolon here! */
+/* One line for cpp.pl (Beta 13) */
+CCTK_INTERP_REGISTER_FN_BODY(operator_ptr,operator_name,thorn_name,"CCTKi_InterpRegisterOperatorGV",interp_operator_GV) /* no semicolon here! */
}
/**************************************/
@@ -389,11 +386,8 @@ int CCTKi_InterpRegisterOperatorLocal(cInterpOperatorLocal operator_ptr,
const char *operator_name,
const char *thorn_name)
{
-CCTK_INTERP_REGISTER_FN_BODY(operator_ptr,
- operator_name,
- thorn_name,
- "CCTKi_InterpRegisterOperatorLocal",
- interp_operator_local) /* no semicolon here! */
+/* One line for cpp.pl (beta 13) */
+CCTK_INTERP_REGISTER_FN_BODY(operator_ptr,operator_name,thorn_name,"CCTKi_InterRegisterOperatorLocal",interp_operator_local) /* no semicolon here */
}
/**************************************/
@@ -402,11 +396,7 @@ int CCTK_InterpRegisterOpLocalUniform(cInterpOpLocalUniform operator_ptr,
const char *operator_name,
const char *thorn_name)
{
-CCTK_INTERP_REGISTER_FN_BODY(operator_ptr,
- operator_name,
- thorn_name,
- "CCTK_InterpRegisterOpLocalUniform",
- interp_op_local_uniform) /* no semicolon here! */
+CCTK_INTERP_REGISTER_FN_BODY(operator_ptr,operator_name,thorn_name,"CCTK_InterpRegisterOpLocalUniform",interp_op_local_uniform) /* no semicolon here! */
}
/******************************************************************************/
@@ -730,8 +720,7 @@ int CCTK_InterpGV (cGH *GH,
va_start (indices, num_out_arrays);
VARARGS_TO_ARRAY (interp_coord_arrays, void *, NOTHING, num_dims, indices);
VARARGS_TO_ARRAY (interp_coord_array_types, int, NOTHING, num_dims,indices);
- VARARGS_TO_ARRAY (in_array_indices, int, NOTHING, num_in_array_indices,
- indices);
+ VARARGS_TO_ARRAY (in_array_indices, int, NOTHING, num_in_array_indices,indices);
VARARGS_TO_ARRAY (out_arrays, void *, NOTHING, num_out_arrays, indices);
VARARGS_TO_ARRAY (out_array_types, int, NOTHING, num_out_arrays, indices);
va_end (indices);