diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b148a5d9..05ef44b8e 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 1d7b68f7b..f5aee0199 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 0621edc8b..c4ef8d1b9 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"