Skip to content

Commit 2deb35b

Browse files
authored
Merge pull request #494 from jcarpent/topic/devel
Fix function signature on Windows
2 parents 211c70d + ee35f88 commit 2deb35b

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

77
## [Unreleased]
88

9+
### Fixed
10+
- Fix function signature on Windows ([#494](https://github.com/stack-of-tasks/eigenpy/pull/494))
11+
912
## [3.8.1] - 2024-08-25
1013

1114
### Fixed

include/eigenpy/numpy.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020-2022 INRIA
2+
* Copyright 2020-2024 INRIA
33
*/
44

55
#ifndef __eigenpy_numpy_hpp__
@@ -215,7 +215,7 @@ EIGENPY_DLLAPI PyArray_Descr* call_PyArray_DescrFromType(int typenum);
215215

216216
EIGENPY_DLLAPI void call_PyArray_InitArrFuncs(PyArray_ArrFuncs* funcs);
217217

218-
EIGENPY_DLLAPI int call_PyArray_RegisterDataType(PyArray_Descr* dtype);
218+
EIGENPY_DLLAPI int call_PyArray_RegisterDataType(PyArray_DescrProto* dtype);
219219

220220
EIGENPY_DLLAPI int call_PyArray_RegisterCanCast(PyArray_Descr* descr,
221221
int totype,

src/numpy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020-2022 INRIA
2+
* Copyright 2020-2024 INRIA
33
*/
44

55
#include "eigenpy/numpy.hpp"

0 commit comments

Comments
 (0)