summaryrefslogtreecommitdiff
path: root/src/include/cctk_Parameter.h
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-09-20 21:45:26 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-09-20 21:45:26 +0000
commit5e1e34f4a54f7359b7084b59a8b6c0a6ebc24654 (patch)
treec3b4545d6956449284f0f322aba567dc744471a8 /src/include/cctk_Parameter.h
parentd8c45557a875ce72ad86ce0905a4afb1731c9516 (diff)
CCTK_ParameterGet() returns a const pointer now.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2372 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk_Parameter.h')
-rw-r--r--src/include/cctk_Parameter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/cctk_Parameter.h b/src/include/cctk_Parameter.h
index f7a63410..926da5da 100644
--- a/src/include/cctk_Parameter.h
+++ b/src/include/cctk_Parameter.h
@@ -125,9 +125,9 @@ int CCTK_ParameterSet (const char *name, /* The name of the parameter */
const char *value); /* The value of the parameter */
/* get the data pointer to and type of a parameter's value */
-void *CCTK_ParameterGet (const char *name, /* The name of the parameter */
- const char *thorn, /* The originating thorn */
- int *type); /* Holds type of parameter */
+const void *CCTK_ParameterGet (const char *name, /* The name of the parameter*/
+ const char *thorn, /* The originating thorn */
+ int *type); /* Holds type of parameter */
/* get the string representation of a parameter's value
(string should be freed afterwards) */