1#ifndef CPYCPPYY_LOWLEVELVIEWS_H
2#define CPYCPPYY_LOWLEVELVIEWS_H
7#if __cplusplus > 201402L
28#define CPPYY_DECL_VIEW_CREATOR(type) \
29 PyObject* CreateLowLevelView(type*, Py_ssize_t* shape = nullptr); \
30 PyObject* CreateLowLevelView(type**, Py_ssize_t* shape = nullptr)
35#if __cplusplus > 201402L
#define CPPYY_DECL_VIEW_CREATOR(type)
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
PyObject_HEAD Py_buffer fBufInfo
Set of helper functions that are invoked from the pythonizors, on the Python side.
PyObject * CreatePointerView(void *ptr, size_t size=(size_t) -1)
PyObject * CreateLowLevelView(const char **, Py_ssize_t *shape=nullptr)
bool LowLevelView_CheckExact(T *object)
bool LowLevelView_Check(T *object)
PyTypeObject LowLevelView_Type