]>
Commit | Line | Data |
---|---|---|
fe4da5cc | 1 | #include <stdio.h> |
2 | /* | |
3 | ||
4 | dummy entry points for phos | |
5 | ||
6 | */ | |
7 | ||
8 | #ifdef WIN32 | |
9 | #define shlist SHLIST | |
10 | #define shinit SHINIT | |
11 | #define shevnt SHEVNT | |
12 | #define reconsfirst RECONSFIRST | |
13 | #define type_of_call _stdcall | |
14 | #else | |
15 | #define shlist shlist_ | |
16 | #define shinit shinit_ | |
17 | #define shevnt shevnt_ | |
18 | #define reconsfirst reconsfirst_ | |
19 | #define type_of_call | |
20 | #endif | |
21 | ||
22 | #define DUMMY(name) \ | |
23 | extern "C" type_of_call void name() {\ | |
24 | printf("Dummy version of \"" #name "\" reached \n"); \ | |
25 | } | |
26 | ||
27 | DUMMY(shlist) | |
28 | DUMMY(shinit) | |
29 | DUMMY(shevnt) | |
30 | DUMMY(reconsfirst) | |
31 | ||
32 |