diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-11-13 16:21:59 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-11-13 16:21:59 +0000 |
commit | f9f011ff69cc2eacb9ff5e908f9d1f0c739cdcc4 (patch) | |
tree | 58b24ecb644f70f7031646a947a31b083b197224 /src/main | |
parent | 71f95ae838444754e2cb394c4752bcb99572a63c (diff) |
Stuff for utility table routines, implemented by Jonathon Thornburg.
Documentation should follow shortly...
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2462 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/Groups.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/Groups.c b/src/main/Groups.c index 1bb09b16..c1d105cc 100644 --- a/src/main/Groups.c +++ b/src/main/Groups.c @@ -1408,6 +1408,14 @@ int CCTK_VarTypeSize (int vtype) var_size = sizeof (CCTK_BYTE); break; + case CCTK_VARIABLE_POINTER: + var_size = sizeof (CCTK_POINTER); + break; + + case CCTK_VARIABLE_FN_POINTER: + var_size = sizeof (CCTK_FN_POINTER); + break; + case CCTK_VARIABLE_INT: var_size = sizeof (CCTK_INT); break; |