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 78 #endif // !CPYCPPYY_LOWLEVELVIEWS_H
PyObject_HEAD Py_buffer fBufInfo
bool LowLevelView_Check(T *object)
CPPYY_DECL_VIEW_CREATOR(bool)
PyObject * CreateLowLevelView(const char **, Py_ssize_t *shape=nullptr)
PyObject * CreatePointerView(void *ptr, size_t size=(size_t) -1)
PyTypeObject LowLevelView_Type
bool LowLevelView_CheckExact(T *object)