Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd1311b6

Browse files
authored
Merge pull request#10727 from charris/backport-10650
BUG: Fix missing NPY_VISIBILITY_HIDDEN on npy_longdouble_to_PyLong
2 parents25fd516 +c3f8016 commitd1311b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎numpy/core/src/private/npy_longdouble.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* Heavily derived from PyLong_FromDouble
1818
* Notably, we can't set the digits directly, so have to shift and or instead.
1919
*/
20-
PyObject*
20+
NPY_VISIBILITY_HIDDENPyObject*
2121
npy_longdouble_to_PyLong(npy_longdoubleldval)
2222
{
2323
PyObject*v;

‎numpy/core/src/private/npy_longdouble.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* This performs the same task as PyLong_FromDouble, but for long doubles
1212
* which have a greater range.
1313
*/
14-
NPY_NO_EXPORTPyObject*
14+
NPY_VISIBILITY_HIDDENPyObject*
1515
npy_longdouble_to_PyLong(npy_longdoubleldval);
1616

1717
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp