8000 Merge pull request #16435 from seberg/fix-ggc10-missing-extern · numpy/numpy@470c783 · GitHub
[go: up one dir, main page]

Skip to content

Commit 470c783

Browse files
authored
Merge pull request #16435 from seberg/fix-ggc10-missing-extern
BUG: Add extern to PyArrayDTypeMeta_Type declaration
2 parents f9e161d + a811b09 commit 470c783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/core/include/numpy/ndarraytypes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1821,7 +1821,7 @@ typedef void (PyDataMem_EventHookFunc)(void *inp, void *outp, size_t size,
18211821
* may change without warning!
18221822
*/
18231823
/* TODO: Make this definition public in the API, as soon as its settled */
1824-
NPY_NO_EXPORT PyTypeObject PyArrayDTypeMeta_Type;
1824+
NPY_NO_EXPORT extern PyTypeObject PyArrayDTypeMeta_Type;
18251825

18261826
/*
18271827
* While NumPy DTypes would not need to be heap types the plan is to

0 commit comments

Comments
 (0)
0