2012-05-25 19:19:28 +04:00
|
|
|
#if defined (__BORLANDC__)
|
2012-05-26 12:29:12 +04:00
|
|
|
#define DLL_SPEC __declspec(dllexport)
|
|
|
|
#else
|
|
|
|
#define DLL_SPEC
|
2012-05-25 19:19:28 +04:00
|
|
|
#endif
|
|
|
|
|
2012-05-25 18:20:58 +04:00
|
|
|
#include "mean.h"
|
2012-05-22 13:53:04 +04:00
|
|
|
|
2012-05-26 12:29:12 +04:00
|
|
|
double DLL_SPEC
|
|
|
|
mean(double a, double b) {
|
2012-05-22 13:53:04 +04:00
|
|
|
return (a+b) / 2;
|
|
|
|
}
|