1 |
#include <utilities/ascConfig.h> |
#include <utilities/ascConfig.h> |
2 |
#include "test_ascDynaLoad_shlib.h" |
#include "test_ascDynaLoad_shlib.h" |
3 |
|
|
4 |
int ASC_DLLSPEC value = FALSE; |
ASC_DLLSPEC(int) value = FALSE; |
5 |
|
|
6 |
int ASC_DLLSPEC init(void) |
int init(void) |
7 |
{ |
{ |
8 |
value = TRUE; |
value = TRUE; |
9 |
return -5; |
return -5; |
10 |
} |
} |
11 |
|
|
12 |
int ASC_DLLSPEC isInitialized(void) |
int isInitialized(void) |
13 |
{ |
{ |
14 |
return value; |
return value; |
15 |
} |
} |
16 |
|
|
17 |
void ASC_DLLSPEC cleanup(void) |
void cleanup(void) |
18 |
{ |
{ |
19 |
value = FALSE; |
value = FALSE; |
20 |
} |
} |