blob: ff35d5779cc5ad571b9068903fca6b54978c9e5c (
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
53
54
55
56
57
58
59
60
61
62
|
/*@@
@file Dummies.c
@date Tue Feb 2 18:56:38 1999
@author Tom Goodale
@desc
A file to contain some dummy functions until the real ones are written.
@enddesc
@@*/
#include "Dummies.h"
static char *rcsid = "$Id$";
int CCTKi_DummyStorageOn(void *GH, int group)
{
return 0;
}
int CCTKi_DummyStorageOff(void *GH, int group)
{
return 0;
}
int CCTKi_DummyCommunicationOn(void *GH, int group)
{
return 0;
}
int CCTKi_DummyCommunicationOff(void *GH, int group)
{
return 0;
}
int CCTKi_DummyTriggerable(int variable)
{
return 0;
}
int CCTKi_DummyTriggerSaysGo(void *GH, int variable)
{
return 1;
}
int CCTKi_DummyTriggerAction(void *GH, int group)
{
return 0;
}
int CCTK_CallFunc(void *GH, int language, void *function)
{
void (*calledfunc)(void *);
calledfunc = (void (*)(void *))function;
/* Call the function. */
calledfunc(GH);
return 0;
}
|