diff options
author | schnetter <schnetter@51d2df92-0e4f-0410-a727-bd43d766d6b6> | 2004-05-21 14:54:11 +0000 |
---|---|---|
committer | schnetter <schnetter@51d2df92-0e4f-0410-a727-bd43d766d6b6> | 2004-05-21 14:54:11 +0000 |
commit | 04df42c506fd6b0ac92315c46a40ee45e914d853 (patch) | |
tree | eb4ba9acfcacd8937f244424dfa48495b850e076 /src/cctk_MemAlloc.F90 | |
parent | 86fa57d8ecd6f24301233858266dac39a51e1d6d (diff) |
More interfaces
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Fortran/trunk@10 51d2df92-0e4f-0410-a727-bd43d766d6b6
Diffstat (limited to 'src/cctk_MemAlloc.F90')
-rw-r--r-- | src/cctk_MemAlloc.F90 | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/cctk_MemAlloc.F90 b/src/cctk_MemAlloc.F90 new file mode 100644 index 0000000..eec8e04 --- /dev/null +++ b/src/cctk_MemAlloc.F90 @@ -0,0 +1,39 @@ +/*@@ + @file $RCSfile$ + @author $Author$ + @date $Date$ + @desc + Fortran 90 interface declarations for the routines + which have their C declarations in cctk_MemAlloc.h + @enddesc + @version $Header$ +@@*/ + +#include "cctk.h" + +module cctk_MemAlloc + implicit none + + interface + + subroutine CCTK_Malloc (ptr, size, line, file) + implicit none + CCTK_POINTER ptr + integer size + integer line + character(*) file + end subroutine CCTK_Malloc + + subroutine CCTK_Free (ptr) + implicit none + CCTK_POINTER ptr + end subroutine CCTK_Free + + subroutine CCTK_TotalMemory (size) + implicit none + integer size + end subroutine CCTK_TotalMemory + + end interface + +end module cctk_MemAlloc |