Skip to content

Commit 5d59a1d

Browse files
Remove unused array converter functions from _tsinfermodule.c
1 parent faa550f commit 5d59a1d

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

_tsinfermodule.c

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -77,28 +77,6 @@ make_file(PyObject *fileobj, const char *mode)
7777
return ret;
7878
}
7979

80-
static int
81-
uint64_PyArray_converter(PyObject *in, PyObject **out)
82-
{
83-
PyObject *ret = PyArray_FROMANY(in, NPY_UINT64, 1, 1, NPY_ARRAY_IN_ARRAY);
84-
if (ret == NULL) {
85-
return NPY_FAIL;
86-
}
87-
*out = ret;
88-
return NPY_SUCCEED;
89-
}
90-
91-
static int
92-
int8_PyArray_converter(PyObject *in, PyObject **out)
93-
{
94-
PyObject *ret = PyArray_FROMANY(in, NPY_INT8, 1, 1, NPY_ARRAY_IN_ARRAY);
95-
if (ret == NULL) {
96-
return NPY_FAIL;
97-
}
98-
*out = ret;
99-
return NPY_SUCCEED;
100-
}
101-
10280
/*===================================================================
10381
* AncestorBuilder
10482
*===================================================================

0 commit comments

Comments
 (0)