Skip to content

Commit 2c00744

Browse files
committed
Add forgotten scalarapi.h
1 parent 10ae760 commit 2c00744

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

numpy/core/src/multiarray/scalarapi.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#ifndef SCALAR_API_H
2+
#define SCALAR_API_H
3+
4+
// Ad-hoc header so that we do not need to define new APIs for HPy porting
5+
// Temporaty solution
6+
7+
NPY_NO_EXPORT HPy
8+
HPyArray_DescrFromTypeObject(HPyContext *ctx, HPy type);
9+
10+
#endif // SCALAR_API_H

0 commit comments

Comments
 (0)