diff options
-rw-r--r-- | lib/sbin/CreateParameterBindings.pl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/sbin/CreateParameterBindings.pl b/lib/sbin/CreateParameterBindings.pl index ddc5df2c..877ad6d4 100644 --- a/lib/sbin/CreateParameterBindings.pl +++ b/lib/sbin/CreateParameterBindings.pl @@ -299,6 +299,11 @@ sub CreateParameterBindings $dataout .= "#define DECLARE_CCTK_PARAMETERS \\\n"; + $dataout .= "void *cctk_pdummy_pointer;\\ + int cctk_pdummy_int;\\ + CCTK_REAL cctk_pdummy_real;\\\n"; + + $decl = "DECLARE_GLOBAL_PARAMETER_STRUCT_PARAMS"; if($header_files{"GLOBAL"}) { @@ -325,6 +330,11 @@ sub CreateParameterBindings $dataout .= "\n"; $dataout .= "#define USE_CCTK_PARAMETERS \\\n"; + $dataout .= "cctk_pdummy_int=0;\\ + cctk_pdummy_int+=0;\\ + cctk_pdummy_real=0;\\ + cctk_pdummy_real+=0;\\ + cctk_pdummy_pointer=NULL;\\\n"; $decl = "USE_GLOBAL_PARAMETER_STRUCT_PARAMS"; if($header_files{"GLOBAL"}) |