diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-11-12 11:25:34 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-11-12 11:25:34 +0000 |
commit | b5290a84a14621e07296592b0ff3ca4c6be9898c (patch) | |
tree | 2ed2591acccec20db67e7c92fb9279c2451ac066 | |
parent | ab0af707cab19318f775f85020bc26dd7910c1ba (diff) |
Switch back to a typedef for CCTK_POINTER.
Added 'typedef const void *CCTK_POINTER_TO_CONST;' which will be used for
function alias arguments.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3030 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r-- | src/include/cctk_Types.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/include/cctk_Types.h b/src/include/cctk_Types.h index 9b20baa9..b6e2cabe 100644 --- a/src/include/cctk_Types.h +++ b/src/include/cctk_Types.h @@ -21,19 +21,10 @@ /* Define stuff for C. */ #ifdef CCODE -/* As long as we don't have 'typedef const void *CCTK_CONST_POINTER;' - we have CCTK_POINTER as a #define so that one can add a const qualifier - if needed. */ -#if 0 typedef void *CCTK_POINTER; -#else -#define CCTK_POINTER void * -#endif +typedef const void *CCTK_POINTER_TO_CONST; typedef void (*CCTK_FPOINTER)(void); -/* DEPRECATED IN BETA 12 */ -typedef void (*CCTK_FN_POINTER)(void); - #define CCTK_STRING const char * /* Structures for complex types */ |