You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
313 B
19 lines
313 B
2 years ago
|
extern int testSharedLibHelperObj(int n);
|
||
|
|
||
|
#ifdef testSharedLibHelperObj_NO_OBJECT
|
||
|
int testSharedLibHelperObj(int n)
|
||
|
{
|
||
|
return n;
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#if defined(_WIN32)
|
||
|
__declspec(dllimport)
|
||
|
#endif
|
||
|
int testSharedLibWithHelper(int n);
|
||
|
|
||
|
int main(void)
|
||
|
{
|
||
|
return testSharedLibWithHelper(0) + testSharedLibHelperObj(0);
|
||
|
}
|