summaryrefslogtreecommitdiff
path: root/numpy/core/src/multiarray/textreading/rows.h
blob: 20eb9e186a19091212248a9f8e1c601032231bc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

#ifndef NUMPY_CORE_SRC_MULTIARRAY_TEXTREADING_ROWS_H_
#define NUMPY_CORE_SRC_MULTIARRAY_TEXTREADING_ROWS_H_

#define PY_SSIZE_T_CLEAN
#include <Python.h>
#include <stdio.h>

#include "textreading/stream.h"
#include "textreading/field_types.h"
#include "textreading/parser_config.h"


NPY_NO_EXPORT PyArrayObject *
read_rows(stream *s,
        npy_intp nrows, Py_ssize_t num_field_types, field_type *field_types,
        parser_config *pconfig, Py_ssize_t num_usecols, Py_ssize_t *usecols,
        Py_ssize_t skiplines, PyObject *converters,
        PyArrayObject *data_array, PyArray_Descr *out_descr,
        bool homogeneous);

#endif  /* NUMPY_CORE_SRC_MULTIARRAY_TEXTREADING_ROWS_H_ */