blob: 5d695547d0f5e01693cf6d6b0cbd80adf1c186ae (
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
|
#include <stdio.h>
__declspec(dllexport) int extern_variable = 0;
__declspec(dllexport) void extern_fn_1() {
printf("extern_fn_1\n");
fflush(stdout);
}
__declspec(dllexport) void extern_fn_2() {
printf("extern_fn_2; didn't get the rename\n");
fflush(stdout);
}
__declspec(dllexport) void print_extern_variable() {
printf("extern_variable value: %d\n", extern_variable);
fflush(stdout);
}
__declspec(dllexport) void extern_fn_with_long_name() {
printf("extern_fn_with_long_name; got the rename\n");
fflush(stdout);
}
__declspec(dllexport) void extern_fn_4() {
printf("extern_fn_4\n");
fflush(stdout);
}
|