diff options
author | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-10-13 18:07:49 +0000 |
---|---|---|
committer | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-10-13 18:07:49 +0000 |
commit | 4a909d77bb17007cfdd69ad7b991cbbd85555d9f (patch) | |
tree | 744767ab6d9fa891f33b8c78fa2e9c8df88321fe /src/include/util_Table.h | |
parent | 456924d5fd062dcc075121903fa0edf604cfc73d (diff) |
Introduce the new Cactus variable type CCTK_INT1.
Extend routines to handle the new type.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3431 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/util_Table.h')
-rw-r--r-- | src/include/util_Table.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/util_Table.h b/src/include/util_Table.h index 6209c3e8..6148a8a4 100644 --- a/src/include/util_Table.h +++ b/src/include/util_Table.h @@ -183,6 +183,9 @@ int Util_TableSetChar(int handle, CCTK_CHAR value, const char *key); /* integers */ int Util_TableSetInt(int handle, CCTK_INT value, const char *key); +#ifdef CCTK_INTEGER_PRECISION_1 +int Util_TableSetInt1(int handle, CCTK_INT1 value, const char *key); +#endif #ifdef CCTK_INTEGER_PRECISION_2 int Util_TableSetInt2(int handle, CCTK_INT2 value, const char *key); #endif @@ -244,6 +247,11 @@ int Util_TableSetCharArray(int handle, int Util_TableSetIntArray(int handle, int N_elements, const CCTK_INT array[], const char *key); +#ifdef CCTK_INTEGER_PRECISION_1 +int Util_TableSetInt1Array(int handle, + int N_elements, const CCTK_INT1 array[], + const char *key); +#endif #ifdef CCTK_INTEGER_PRECISION_2 int Util_TableSetInt2Array(int handle, int N_elements, const CCTK_INT2 array[], @@ -320,6 +328,9 @@ int Util_TableGetChar(int handle, CCTK_CHAR *value, const char *key); /* integers */ int Util_TableGetInt(int handle, CCTK_INT *value, const char *key); +#ifdef CCTK_INTEGER_PRECISION_1 +int Util_TableGetInt1(int handle, CCTK_INT1 *value, const char *key); +#endif #ifdef CCTK_INTEGER_PRECISION_2 int Util_TableGetInt2(int handle, CCTK_INT2 *value, const char *key); #endif @@ -381,6 +392,11 @@ int Util_TableGetCharArray(int handle, int Util_TableGetIntArray(int handle, int N_elements, CCTK_INT array[], const char *key); +#ifdef CCTK_INTEGER_PRECISION_1 +int Util_TableGetInt1Array(int handle, + int N_elements, CCTK_INT1 array[], + const char *key); +#endif #ifdef CCTK_INTEGER_PRECISION_2 int Util_TableGetInt2Array(int handle, int N_elements, CCTK_INT2 array[], |