aboutsummaryrefslogtreecommitdiff
path: root/src/GHExtension.c
diff options
context:
space:
mode:
authorallen <allen@b589c3ab-70e8-4b4d-a09f-cba2dd200880>2000-02-03 12:37:07 +0000
committerallen <allen@b589c3ab-70e8-4b4d-a09f-cba2dd200880>2000-02-03 12:37:07 +0000
commit20df261706857e3e3b250b1e42c750864bb1b4f0 (patch)
treef2eb6abd02291d628d46351bc2a977dd7ded464a /src/GHExtension.c
parent2faa3ae020bd528bf3f33b211d547662a8f5d838 (diff)
New function and structure names
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOBasic/trunk@32 b589c3ab-70e8-4b4d-a09f-cba2dd200880
Diffstat (limited to 'src/GHExtension.c')
-rw-r--r--src/GHExtension.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/GHExtension.c b/src/GHExtension.c
index c16bc19..30b5061 100644
--- a/src/GHExtension.c
+++ b/src/GHExtension.c
@@ -15,7 +15,6 @@
#include "cctk.h"
#include "cctk_Parameters.h"
-#include "cctk_ParameterFunctions.h"
#include "CactusBase/IOUtil/src/ioGH.h"
#include "iobasicGH.h"
@@ -44,7 +43,7 @@ int IOBasic_InitGH (cGH *GH)
DECLARE_CCTK_PARAMETERS
int i;
iobasicGH *myGH;
- t_param_prop *param_prop;
+ cParamData *paramdata;
/* get the handles for IOBasic extensions */
myGH = (iobasicGH *) GH->extensions [CCTK_GHExtensionHandle ("IOBasic")];
@@ -64,8 +63,8 @@ int IOBasic_InitGH (cGH *GH)
/* Check whether "outdirScalar" was set.
If so take this dir otherwise default to "IO::outdir" */
- param_prop = CCTK_ParameterInfo ("outdirScalar", CCTK_THORNSTRING);
- if (param_prop && param_prop->n_set > 0)
+ paramdata = CCTK_ParameterData ("outdirScalar", CCTK_THORNSTRING);
+ if (paramdata && paramdata->n_set > 0)
myGH->outdirScalar = strdup (outdirScalar);
else
myGH->outdirScalar = strdup (outdir);