aboutsummaryrefslogtreecommitdiff
path: root/src/cctk_MemAlloc.F90
blob: eec8e0430790e6523381e2d388300b85a25bd812 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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