Add missing import/export info for MersenneRNG::unitvector<>

develop
Quietust 2014-03-25 13:30:21 -05:00
parent 2ca34b9353
commit e620ae765c
2 changed files with 4 additions and 4 deletions

@ -102,8 +102,8 @@ namespace Random
}; };
#ifndef DFHACK_RANDOM_CPP #ifndef DFHACK_RANDOM_CPP
extern template void MersenneRNG::unitvector<float>(float *p, int size); extern template void DFHACK_IMPORT MersenneRNG::unitvector<float>(float *p, int size);
extern template void MersenneRNG::unitvector<double>(double *p, int size); extern template void DFHACK_IMPORT MersenneRNG::unitvector<double>(double *p, int size);
#endif #endif
/* /*

@ -146,8 +146,8 @@ void MersenneRNG::unitvector(T *p, int size)
} }
} }
template void MersenneRNG::unitvector<float>(float *p, int size); template void DFHACK_EXPORT MersenneRNG::unitvector<float>(float *p, int size);
template void MersenneRNG::unitvector<double>(double *p, int size); template void DFHACK_EXPORT MersenneRNG::unitvector<double>(double *p, int size);
#include "modules/PerlinNoise.inc" #include "modules/PerlinNoise.inc"