11#ifndef PYROOT_PYZCPPHELPERS
12#define PYROOT_PYZCPPHELPERS
PyObject * BoolNot(PyObject *value)
TClass * GetTClass(const CPyCppyy::CPPInstance *pyobj)
unsigned long long GetDataPointerFromArrayInterface(PyObject *obj)
Get data pointer from Numpy array interface and perform error handling.
unsigned int GetDatatypeSizeFromTypestr(const std::string &typestr)
Get size of data type in bytes from Numpy type string.
std::string GetCppTypeFromNumpyType(const std::string &dtype)
Convert Numpy data-type string to the according C++ data-type string.
std::string GetTypestrFromArrayInterface(PyObject *obj)
Get type string from Numpy array interface and perform error handling.
bool CheckEndianessFromTypestr(const std::string &typestr)
Check whether endianess in type string matches the endianess of ROOT.
PyObject * CallPyObjMethod(PyObject *obj, const char *meth)
Set of helper functions that are invoked from the C++ implementation of pythonizations.
PyObject * GetArrayInterface(PyObject *obj)
Get Numpy array interface and perform error handling.
TClass instances represent classes, structs and namespaces in the ROOT type system.