aboutsummaryrefslogtreecommitdiff
path: root/src/cctk_MemAlloc.F90
blob: e0a1c79bac7c5262e76f83f4559897ed89bd72f0 (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
/*@@
  @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

     !  CCTK_TotalMemory is already declared in cctk_Malloc1
     
  end interface
  
end module cctk_MemAlloc