diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-02-24 14:28:41 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-02-24 14:28:41 +0000 |
commit | 3a83eb41f3ad7f424969206a7ae38ad12f8e5da0 (patch) | |
tree | 398500a98edbe8e1a52bd009963e9b9b6b3f6dbf /src/include/cctk_Parameter.h | |
parent | 0f5fc8cf8ae2fea0156224c1dd5ccfc12aa68426 (diff) |
Additions for parameter checking level of warning
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2047 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk_Parameter.h')
-rw-r--r-- | src/include/cctk_Parameter.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/cctk_Parameter.h b/src/include/cctk_Parameter.h index 6b23ba46..f7a63410 100644 --- a/src/include/cctk_Parameter.h +++ b/src/include/cctk_Parameter.h @@ -19,6 +19,11 @@ * ParameterBindings.h, which in turn includes this file. */ +/* Parameter checking levels */ +#define CCTK_PARAMETER_STRICT 0 +#define CCTK_PARAMETER_NORMAL 1 +#define CCTK_PARAMETER_RELAXED 2 + /* these SCOPE* defines are used as flags fo parameter scopes. */ #define SCOPE_GLOBAL 1 /* parameter is visible everywhere */ @@ -111,6 +116,9 @@ extern "C" { #endif +/* return the parameter checking level */ +int CCTK_ParameterLevel(void); + /* set the value of a parameter */ int CCTK_ParameterSet (const char *name, /* The name of the parameter */ const char *thorn, /* The originating thorn */ |