diff --git a/include/eigenpy/computation-info.hpp b/include/eigenpy/computation-info.hpp index b5d3378228ad75932954bccaa253fd7355af36fd..b610401bb6dd24162ec26e794a882d4e35a2b7b6 100644 --- a/include/eigenpy/computation-info.hpp +++ b/include/eigenpy/computation-info.hpp @@ -12,7 +12,7 @@ namespace eigenpy { - inline void EIGENPY_DLLEXPORT exposeComputationInfo() + inline void EIGENPY_DLLAPI exposeComputationInfo() { boost::python::enum_<Eigen::ComputationInfo>("ComputationInfo") .value("Success",Eigen::Success) diff --git a/include/eigenpy/decompositions/decompositions.hpp b/include/eigenpy/decompositions/decompositions.hpp index 27793784e2c65903110e00d1ae7a0b569a01b9a8..9151a8a132f62661f3cae0a0090905cd480c438d 100644 --- a/include/eigenpy/decompositions/decompositions.hpp +++ b/include/eigenpy/decompositions/decompositions.hpp @@ -9,7 +9,7 @@ namespace eigenpy { - void EIGENPY_DLLEXPORT exposeDecompositions(); + void EIGENPY_DLLAPI exposeDecompositions(); } // namespace eigenpy #endif // define __eigenpy_decompositions_decompositions_hpp__ diff --git a/include/eigenpy/eigenpy.hpp b/include/eigenpy/eigenpy.hpp index 304b01b0151f1961c9d7b7e1eb69eec3dc130c12..49544cca6997a963c53cb645c10522677e268acd 100644 --- a/include/eigenpy/eigenpy.hpp +++ b/include/eigenpy/eigenpy.hpp @@ -40,7 +40,7 @@ namespace eigenpy { /* Enable Eigen-Numpy serialization for a set of standard MatrixBase instance. */ - void EIGENPY_DLLEXPORT enableEigenPy(); + void EIGENPY_DLLAPI enableEigenPy(); /* Enable the Eigen--Numpy serialization for the templated MatrixBase class. * The second template argument is used for inheritance of Eigen classes. If diff --git a/include/eigenpy/geometry.hpp b/include/eigenpy/geometry.hpp index 3fee5f3ae2e516c432bc321046435e753f6641ae..b34ac4935470e1e990c5c2bff63c27e9ef8bf896 100644 --- a/include/eigenpy/geometry.hpp +++ b/include/eigenpy/geometry.hpp @@ -11,10 +11,10 @@ namespace eigenpy { - void EIGENPY_DLLEXPORT exposeQuaternion(); - void EIGENPY_DLLEXPORT exposeAngleAxis(); + void EIGENPY_DLLAPI exposeQuaternion(); + void EIGENPY_DLLAPI exposeAngleAxis(); - void EIGENPY_DLLEXPORT exposeGeometryConversion(); + void EIGENPY_DLLAPI exposeGeometryConversion(); } // namespace eigenpy diff --git a/include/eigenpy/numpy-type.hpp b/include/eigenpy/numpy-type.hpp index a431c1e75cedd0e0435de0e9a3c073a4e09e705d..c9bccd774380df3364016b57ecbd3660af7d5100 100644 --- a/include/eigenpy/numpy-type.hpp +++ b/include/eigenpy/numpy-type.hpp @@ -72,7 +72,7 @@ namespace eigenpy ARRAY_TYPE }; - struct EIGENPY_DLLEXPORT NumpyType + struct EIGENPY_DLLAPI NumpyType { static NumpyType & getInstance(); diff --git a/include/eigenpy/numpy.hpp b/include/eigenpy/numpy.hpp index b0de2648bdfc2953afe3e14be3eaeb68e36148b4..0389f5296439a756af09213dffb357e308ccddb8 100644 --- a/include/eigenpy/numpy.hpp +++ b/include/eigenpy/numpy.hpp @@ -30,28 +30,28 @@ namespace eigenpy { - void EIGENPY_DLLEXPORT import_numpy(); - int EIGENPY_DLLEXPORT PyArray_TypeNum(PyTypeObject * type); + void EIGENPY_DLLAPI import_numpy(); + int EIGENPY_DLLAPI PyArray_TypeNum(PyTypeObject * type); } #if defined _WIN32 || defined __CYGWIN__ namespace eigenpy { - EIGENPY_DLLEXPORT bool call_PyArray_Check(PyObject *); + EIGENPY_DLLAPI bool call_PyArray_Check(PyObject *); - EIGENPY_DLLEXPORT PyObject* call_PyArray_SimpleNew(int nd, npy_intp * shape, int np_type); + EIGENPY_DLLAPI PyObject* call_PyArray_SimpleNew(int nd, npy_intp * shape, int np_type); - EIGENPY_DLLEXPORT PyObject* call_PyArray_New(PyTypeObject * py_type_ptr, int nd, npy_intp * shape, int np_type, void * data_ptr, int options); + EIGENPY_DLLAPI PyObject* call_PyArray_New(PyTypeObject * py_type_ptr, int nd, npy_intp * shape, int np_type, void * data_ptr, int options); - EIGENPY_DLLEXPORT int call_PyArray_ObjectType(PyObject *, int); + EIGENPY_DLLAPI int call_PyArray_ObjectType(PyObject *, int); - EIGENPY_DLLEXPORT PyTypeObject * getPyArrayType(); + EIGENPY_DLLAPI PyTypeObject * getPyArrayType(); - EIGENPY_DLLEXPORT PyArray_Descr * call_PyArray_DescrFromType(int typenum); + EIGENPY_DLLAPI PyArray_Descr * call_PyArray_DescrFromType(int typenum); - EIGENPY_DLLEXPORT void call_PyArray_InitArrFuncs(PyArray_ArrFuncs * funcs); + EIGENPY_DLLAPI void call_PyArray_InitArrFuncs(PyArray_ArrFuncs * funcs); - EIGENPY_DLLEXPORT int call_PyArray_RegisterDataType(PyArray_Descr * dtype); + EIGENPY_DLLAPI int call_PyArray_RegisterDataType(PyArray_Descr * dtype); } #else #define call_PyArray_Check(py_obj) PyArray_Check(py_obj) diff --git a/include/eigenpy/register.hpp b/include/eigenpy/register.hpp index c6bc39c4eb84fd4aa8a191a930684f452d184a97..58bb770a835e32fe732f83a2231c444e9241926b 100644 --- a/include/eigenpy/register.hpp +++ b/include/eigenpy/register.hpp @@ -18,7 +18,7 @@ namespace eigenpy { /// \brief Structure collecting all the types registers in Numpy via EigenPy - struct EIGENPY_DLLEXPORT Register + struct EIGENPY_DLLAPI Register { static PyArray_Descr * getPyArrayDescr(PyTypeObject * py_type_ptr); diff --git a/include/eigenpy/solvers/preconditioners.hpp b/include/eigenpy/solvers/preconditioners.hpp index 46540d2a1051ae372860da4d228f745f95ffda1b..0f86860d3cfd33c89a5f5f94ca83aaf009399f2b 100644 --- a/include/eigenpy/solvers/preconditioners.hpp +++ b/include/eigenpy/solvers/preconditioners.hpp @@ -22,7 +22,7 @@ namespace eigenpy { - void EIGENPY_DLLEXPORT exposePreconditioners(); + void EIGENPY_DLLAPI exposePreconditioners(); } // namespace eigenpy diff --git a/include/eigenpy/solvers/solvers.hpp b/include/eigenpy/solvers/solvers.hpp index b85a3921de6bb4db1a14736bff070f1444f61946..3c3cac5e021b0ee94b370c2705f06d8bb085886d 100644 --- a/include/eigenpy/solvers/solvers.hpp +++ b/include/eigenpy/solvers/solvers.hpp @@ -11,7 +11,7 @@ namespace eigenpy { struct SolversScope {}; - void EIGENPY_DLLEXPORT exposeSolvers(); + void EIGENPY_DLLAPI exposeSolvers(); } // namespace eigenpy diff --git a/include/eigenpy/version.hpp b/include/eigenpy/version.hpp index 10c3ba2f63b05a439ea08a28dcf0066b21fc486b..67c810a7929ca7d9dccc7c7c8c15f5e8ff2f2a47 100644 --- a/include/eigenpy/version.hpp +++ b/include/eigenpy/version.hpp @@ -17,7 +17,7 @@ namespace eigenpy /// the following standard: /// EIGENPY_MINOR_VERSION.EIGENPY_MINOR_VERSION.EIGENPY_PATCH_VERSION /// - std::string EIGENPY_DLLEXPORT printVersion(const std::string & delimiter = "."); + std::string EIGENPY_DLLAPI printVersion(const std::string & delimiter = "."); /// /// \brief Checks if the current version of EigenPy is at least the version provided @@ -30,7 +30,7 @@ namespace eigenpy /// \returns true if the current version of EigenPy is greater than the version provided /// by the input arguments. /// - bool EIGENPY_DLLEXPORT checkVersionAtLeast(unsigned int major_version, + bool EIGENPY_DLLAPI checkVersionAtLeast(unsigned int major_version, unsigned int minor_version, unsigned int patch_version); }