blob: ee838f07157cf735c4c0e42aa2e066d8363a4093 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
|
/*@@
@header IOOverloadables.h
@date Thu Feb 4 09:59:34 1999
@author Tom Goodale
@desc
The overloadable functions for the IO layer.
See OverloadMacros.h to see how to use these.
@enddesc
@version $Header$
@@*/
#ifdef OVERLOADABLE_CALL
#undef OVERLOADABLE_CALL
#endif
#ifdef OVERLOABLE_PREFIX
#undef OVERLOADABLE_PREFIX
#endif
#ifdef OVERLOABLE_DUMMY_PREFIX
#undef OVERLOADABLE_DUMMY_PREFIX
#endif
#define OVERLOADABLE_CALL CCTK_
#define OVERLOADABLE_PREFIX CCTK_
#define OVERLOADABLE_DUMMY_PREFIX CCTKi_Dummy
#ifdef ARGUMENTS
#undef ARGUMENTS
#endif
#ifdef RETURN_TYPE
#undef RETURN_TYPE
#endif
#define RETURN_TYPE int
#define ARGUMENTS cGH *GH
OVERLOADABLE(OutputGH)
#undef ARGUMENTS
#define ARGUMENTS cGH *GH, \
const char *var, \
const char *method, \
const char *alias
OVERLOADABLE(OutputVarAsByMethod)
#undef ARGUMENTS
#undef RETURN_TYPE
#undef OVERLOADABLE_CALL
#undef OVERLOADABLE_PREFIX
#undef OVERLOADABLE_DUMMY_PREFIX
|