From eeaad59d79433474e46c4bbe1fc7c401458759d4 Mon Sep 17 00:00:00 2001 From: Justin Carpentier Date: Mon, 26 Aug 2024 17:20:26 +0200 Subject: [PATCH 1/2] core/numpy: fix function signature --- include/eigenpy/numpy.hpp | 4 ++-- src/numpy.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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" From ee35f88e289559d0046855838bd5d6e51145f128 Mon Sep 17 00:00:00 2001 From: Justin Carpentier Date: Mon, 26 Aug 2024 17:21:53 +0200 Subject: [PATCH 2/2] changelog: sync --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) 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