зеркало из https://github.com/mozilla/pjs.git
Made NS_MeanAndStdDev be extern 'C'
This commit is contained in:
Родитель
d41c2f61bb
Коммит
758fb0f241
|
@ -205,7 +205,7 @@ public:
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// And now for that utility that you've all been asking for...
|
||||
|
||||
extern NS_COM void
|
||||
extern "C" NS_COM void
|
||||
NS_MeanAndStdDev(double n, double sumOfValues, double sumOfSquaredValues,
|
||||
double *meanResult, double *stdDevResult);
|
||||
|
||||
|
|
|
@ -205,7 +205,7 @@ public:
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// And now for that utility that you've all been asking for...
|
||||
|
||||
extern NS_COM void
|
||||
extern "C" NS_COM void
|
||||
NS_MeanAndStdDev(double n, double sumOfValues, double sumOfSquaredValues,
|
||||
double *meanResult, double *stdDevResult);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче