2008-10-12 18:41:06 +02:00
|
|
|
#ifdef _WIN32
|
2013-03-16 19:13:01 +02:00
|
|
|
__declspec(dllimport)
|
2008-10-12 18:41:06 +02:00
|
|
|
#endif
|
|
|
|
extern void foo();
|
|
|
|
#ifdef _WIN32
|
2013-03-16 19:13:01 +02:00
|
|
|
__declspec(dllexport)
|
2008-10-12 18:41:06 +02:00
|
|
|
#endif
|
|
|
|
void bar()
|
|
|
|
{
|
|
|
|
foo();
|
|
|
|
}
|