numpy
2.0.0
|
#include <Python.h>
#include <stdio.h>
#include "numpy/npy_common.h"
#include "numpy/ndarrayobject.h"
Go to the source code of this file.
Defines | |
#define | PyBytes_Type PyString_Type |
#define | PyBytes_Check PyString_Check |
#define | PyBytesObject PyStringObject |
#define | PyBytes_FromString PyString_FromString |
#define | PyBytes_FromStringAndSize PyString_FromStringAndSize |
#define | PyBytes_AS_STRING PyString_AS_STRING |
#define | PyBytes_AsStringAndSize PyString_AsStringAndSize |
#define | PyBytes_FromFormat PyString_FromFormat |
#define | PyBytes_Concat PyString_Concat |
#define | PyBytes_ConcatAndDel PyString_ConcatAndDel |
#define | PyBytes_AsString PyString_AsString |
#define | PyBytes_GET_SIZE PyString_GET_SIZE |
#define | PyBytes_Size PyString_Size |
#define | PyUString_Type PyString_Type |
#define | PyUString_Check PyString_Check |
#define | PyUStringObject PyStringObject |
#define | PyUString_FromString PyString_FromString |
#define | PyUString_FromStringAndSize PyString_FromStringAndSize |
#define | PyUString_FromFormat PyString_FromFormat |
#define | PyUString_Concat PyString_Concat |
#define | PyUString_ConcatAndDel PyString_ConcatAndDel |
#define | PyUString_GET_SIZE PyString_GET_SIZE |
#define | PyUString_Size PyString_Size |
#define | PyUString_InternFromString PyString_InternFromString |
#define | PyUString_Format PyString_Format |
#define | npy_PyFile_Dup(file, mode) PyFile_AsFile(file) |
#define | npy_PyFile_DupClose(file, handle) (0) |
#define | npy_PyFile_Check PyFile_Check |
Functions | |
static NPY_INLINE void | PyUnicode_ConcatAndDel (PyObject **left, PyObject *right) |
static NPY_INLINE void | PyUnicode_Concat2 (PyObject **left, PyObject *right) |
static NPY_INLINE PyObject * | npy_PyFile_OpenFile (PyObject *filename, const char *mode) |
static NPY_INLINE int | npy_PyFile_CloseFile (PyObject *file) |
static NPY_INLINE PyObject * | NpyCapsule_FromVoidPtr (void *ptr, void(*dtor)(void *)) |
static NPY_INLINE PyObject * | NpyCapsule_FromVoidPtrAndDesc (void *ptr, void *context, void(*dtor)(void *, void *)) |
static NPY_INLINE void * | NpyCapsule_AsVoidPtr (PyObject *ptr) |
static NPY_INLINE void * | NpyCapsule_GetDesc (PyObject *obj) |
static NPY_INLINE int | NpyCapsule_Check (PyObject *ptr) |
static NPY_INLINE void | simple_capsule_dtor (void *ptr) |
#define npy_PyFile_Check PyFile_Check |
#define npy_PyFile_Dup | ( | file, | |
mode | |||
) | PyFile_AsFile(file) |
#define npy_PyFile_DupClose | ( | file, | |
handle | |||
) | (0) |
#define PyBytes_AS_STRING PyString_AS_STRING |
Referenced by PyArray_SearchsideConverter().
#define PyBytes_AsString PyString_AsString |
#define PyBytes_AsStringAndSize PyString_AsStringAndSize |
Referenced by PyArray_WeekMaskConverter().
#define PyBytes_Check PyString_Check |
Referenced by _array_from_buffer_3118(), PyArray_SearchsideConverter(), and PyArray_WeekMaskConverter().
#define PyBytes_Concat PyString_Concat |
#define PyBytes_ConcatAndDel PyString_ConcatAndDel |
#define PyBytes_FromFormat PyString_FromFormat |
#define PyBytes_FromString PyString_FromString |
#define PyBytes_FromStringAndSize PyString_FromStringAndSize |
#define PyBytes_GET_SIZE PyString_GET_SIZE |
Referenced by PyArray_SearchsideConverter().
#define PyBytes_Size PyString_Size |
#define PyBytes_Type PyString_Type |
<
#define PyBytesObject PyStringObject |
#define PyUString_Check PyString_Check |
Referenced by arraydescr_subarray_str(), and voidtype_setfield().
#define PyUString_Concat PyString_Concat |
#define PyUString_ConcatAndDel PyString_ConcatAndDel |
#define PyUString_Format PyString_Format |
#define PyUString_FromFormat PyString_FromFormat |
Referenced by broadcast_strides(), PyUFunc_MultiplicationTypeResolver(), and PyUFunc_ValidateCasting().
#define PyUString_FromString PyString_FromString |
#define PyUString_FromStringAndSize PyString_FromStringAndSize |
Referenced by PyUFunc_ReplaceLoopBySignature().
#define PyUString_GET_SIZE PyString_GET_SIZE |
#define PyUString_InternFromString PyString_InternFromString |
Referenced by _extract_pyvals().
#define PyUString_Size PyString_Size |
#define PyUString_Type PyString_Type |
#define PyUStringObject PyStringObject |
static NPY_INLINE int npy_PyFile_CloseFile | ( | PyObject * | file | ) | [static] |
static NPY_INLINE PyObject* npy_PyFile_OpenFile | ( | PyObject * | filename, |
const char * | mode | ||
) | [static] |
static NPY_INLINE void* NpyCapsule_AsVoidPtr | ( | PyObject * | ptr | ) | [static] |
References PyArray_free.
Referenced by PyArray_GetCastFunc(), PyUFunc_DefaultMaskedInnerLoopSelector(), and ufunc_loop_matches().
static NPY_INLINE int NpyCapsule_Check | ( | PyObject * | ptr | ) | [static] |
Referenced by PyArray_GetCastFunc().
static NPY_INLINE PyObject* NpyCapsule_FromVoidPtr | ( | void * | ptr, |
void(*)(void *) | dtor | ||
) | [static] |
static NPY_INLINE PyObject* NpyCapsule_FromVoidPtrAndDesc | ( | void * | ptr, |
void * | context, | ||
void(*)(void *, void *) | dtor | ||
) | [static] |
static NPY_INLINE void* NpyCapsule_GetDesc | ( | PyObject * | obj | ) | [static] |
static NPY_INLINE void PyUnicode_Concat2 | ( | PyObject ** | left, |
PyObject * | right | ||
) | [static] |
References npy_fseek.
static NPY_INLINE void PyUnicode_ConcatAndDel | ( | PyObject ** | left, |
PyObject * | right | ||
) | [static] |
static NPY_INLINE void simple_capsule_dtor | ( | void * | ptr | ) | [static] |