]>
Commit | Line | Data |
---|---|---|
9033ee49 | 1 | // |
2 | //################################################################### | |
3 | //# EPOS 1.67 K. WERNER, T. PIEROG, S. PORTEBOEUF. # | |
4 | //# Contact: werner@subatech.in2p3.fr # | |
5 | //################################################################### | |
6 | // | |
7 | // eposproc.h | |
8 | // | |
9 | // Definitions of EPOS subroutines used in the interface. | |
10 | // | |
11 | // Author: Piotr Ostrowski, postrow@if.pw.edu.pl | |
12 | // | |
9ef1c2d9 | 13 | |
14 | ||
15 | #ifndef ROOT_Eposproc | |
16 | #define ROOT_Eposproc | |
17 | ||
18 | #ifndef WIN32 | |
19 | #define aaset aaset_ | |
20 | #define atitle atitle_ | |
21 | #define xiniall xiniall_ | |
22 | #define aread aread_ | |
23 | #define utpri utpri_ | |
24 | #define IniModel inimodel_ | |
25 | #define ainit ainit_ | |
26 | #define aseed aseed_ | |
27 | #define xana xana_ | |
28 | #define bstora bstora_ | |
29 | #define bstore bstore_ | |
30 | #define ustore ustore_ | |
31 | #define evgen evgen_ | |
32 | #define astati astati_ | |
33 | #define bfinal bfinal_ | |
34 | #define setinp setinp_ | |
35 | ||
36 | #define type_of_call | |
37 | ||
38 | #else | |
39 | ||
40 | #define aaset AASET | |
41 | #define atitle ATITLE | |
42 | #define xiniall XINIALL | |
43 | #define aread AREAD | |
44 | #define utpri UTPRI | |
45 | #define IniModel INIMODEL | |
46 | #define ainit AINIT | |
47 | #define aseed ASEED | |
48 | #define xana XANA | |
49 | #define bstora BSTORA | |
50 | #define bstore BSTORE | |
51 | #define ustore USTORE | |
52 | #define evgen EVGEN | |
53 | #define astati ASTATI | |
54 | #define bfinal BFINAL | |
55 | #define setinp SETINP | |
56 | #define type_of_call _stdcall | |
57 | ||
58 | #endif | |
59 | ||
60 | #include <TROOT.h> | |
61 | #ifndef WIN32 | |
62 | ||
63 | extern "C" void type_of_call aaset(const Int_t &); | |
64 | extern "C" void type_of_call atitle(); | |
65 | extern "C" void type_of_call xiniall(); | |
66 | extern "C" void type_of_call aread(); | |
67 | extern "C" void type_of_call utpri(const char *, Int_t &, Int_t &, const Int_t &, int); | |
68 | extern "C" void type_of_call IniModel(Int_t &); | |
69 | extern "C" void type_of_call ainit(); | |
70 | extern "C" void type_of_call aseed(const Int_t &); | |
71 | extern "C" void type_of_call xana(); | |
72 | extern "C" void type_of_call bstora(); | |
73 | extern "C" void type_of_call bstore(); | |
74 | extern "C" void type_of_call ustore(); | |
75 | extern "C" void type_of_call evgen(Int_t &); | |
76 | extern "C" void type_of_call astati(); | |
77 | extern "C" void type_of_call bfinal(); | |
78 | extern "C" void type_of_call setinp(const char *, Int_t &, int); | |
79 | #else | |
80 | #endif | |
81 | ||
82 | #endif |