diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b148a5d9ab90b415bddb9ce5ea755b7fef36f69..05ef44b8e6920529f2331d6b77d4a5d78a1cace7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +### Fixed +- Fix function signature on Windows ([#494](https://github.com/stack-of-tasks/eigenpy/pull/494)) + ## [3.8.1] - 2024-08-25 ### Fixed diff --git a/include/eigenpy/numpy.hpp b/include/eigenpy/numpy.hpp index 1d7b68f7bb987424493239b574386e70b4d772ee..f5aee0199f6994f6b87bb3f8bd88aa29185ab478 100644 --- a/include/eigenpy/numpy.hpp +++ b/include/eigenpy/numpy.hpp @@ -1,5 +1,5 @@ /* - * Copyright 2020-2022 INRIA + * Copyright 2020-2024 INRIA */ #ifndef __eigenpy_numpy_hpp__ @@ -215,7 +215,7 @@ EIGENPY_DLLAPI PyArray_Descr* call_PyArray_DescrFromType(int typenum); EIGENPY_DLLAPI void call_PyArray_InitArrFuncs(PyArray_ArrFuncs* funcs); -EIGENPY_DLLAPI int call_PyArray_RegisterDataType(PyArray_Descr* dtype); +EIGENPY_DLLAPI int call_PyArray_RegisterDataType(PyArray_DescrProto* dtype); EIGENPY_DLLAPI int call_PyArray_RegisterCanCast(PyArray_Descr* descr, int totype, diff --git a/src/numpy.cpp b/src/numpy.cpp index 0621edc8b9d79f7756e68892cbd02faa08b834e4..c4ef8d1b934236d7dd4ddb0d9346bbf7bf6aa82b 100644 --- a/src/numpy.cpp +++ b/src/numpy.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2020-2022 INRIA + * Copyright 2020-2024 INRIA */ #include "eigenpy/numpy.hpp"