2012-03-12 22:41:34 +04:00
|
|
|
#if defined(_WIN32) && defined(Cshared_EXPORTS)
|
2016-05-16 17:34:04 +03:00
|
|
|
#define EXPORT_C __declspec(dllexport)
|
2012-03-12 22:41:34 +04:00
|
|
|
#else
|
2016-05-16 17:34:04 +03:00
|
|
|
#define EXPORT_C
|
2012-03-12 22:41:34 +04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
extern int a1(void);
|
|
|
|
extern int a2(void);
|
|
|
|
extern int b1(void);
|
|
|
|
extern int b2(void);
|
|
|
|
EXPORT_C int c(void)
|
|
|
|
{
|
2016-05-16 17:34:04 +03:00
|
|
|
return 0 + a1() + a2() + b1() + b2();
|
2012-03-12 22:41:34 +04:00
|
|
|
}
|