blob: 3422b14ad831ab235532fbe6e8c641e5b2c1d26e (
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
|
/*@@
@header cctk_Malloc.h
@date Thu Jan 20 2000
@author Gerd Lanfermann
@desc
Prototypes for Cactus MemAlloc functions.
@enddesc
@version $Header$
@@*/
#ifndef _CCTK_MALLOC_H_
#define _CCTK_MALLOC_H_
#ifdef __cplusplus
extern "C" {
#endif
/* void *CCTKi_Malloc(t_size size, int line, const char *file);
void CCTKi_Free(void *pointer); */
void CCTK_MemStat(void);
unsigned long int CCTK_TotalMemory(void);
long int CCTK_MemTicketCash(int this_ticket);
int CCTK_MemTicketRequest(void);
int CCTK_MemTicketDelete(int this_ticket);
#ifdef __cplusplus
}
#endif
#endif
|