From 3a83eb41f3ad7f424969206a7ae38ad12f8e5da0 Mon Sep 17 00:00:00 2001 From: allen Date: Sat, 24 Feb 2001 14:28:41 +0000 Subject: Additions for parameter checking level of warning git-svn-id: http://svn.cactuscode.org/flesh/trunk@2047 17b73243-c579-4c4c-a9d2-2d5706c11dac --- src/include/cctk_Parameter.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/include/cctk_Parameter.h') 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 */ -- cgit v1.2.3