blob: 1a569dfbd19fdd35f8877d8e1346a6e0a9b55be9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef _NPY_PRIVATE__EXTOBJ_H_
#define _NPY_PRIVATE__EXTOBJ_H_
#include <numpy/ndarraytypes.h> /* for NPY_NO_EXPORT */
NPY_NO_EXPORT int
_error_handler(int method, PyObject *errobj, char *errtype, int retstatus, int *first);
NPY_NO_EXPORT PyObject *
get_global_ext_obj(void);
NPY_NO_EXPORT int
_extract_pyvals(PyObject *ref, const char *name, int *bufsize,
int *errmask, PyObject **errobj);
NPY_NO_EXPORT int
_check_ufunc_fperr(int errmask, PyObject *extobj, const char *ufunc_name);
NPY_NO_EXPORT int
_get_bufsize_errmask(PyObject * extobj, const char *ufunc_name,
int *buffersize, int *errormask);
/********************/
#define USE_USE_DEFAULTS 1
/********************/
#if USE_USE_DEFAULTS==1
NPY_NO_EXPORT int
ufunc_update_use_defaults(void);
#endif
#endif
|