Logo ROOT  
Reference Guide
PyROOT.h File Reference
#include "Python.h"
#include "Rtypes.h"
#include "Cppyy.h"
Include dependency graph for PyROOT.h:
This graph shows which files directly or indirectly include this file:

Macros

#define lenfunc   inquiry
 
#define PY_SSIZE_T_FORMAT   "%d"
 
#define PY_SSIZE_T_MAX   INT_MAX
 
#define PY_SSIZE_T_MIN   INT_MIN
 
#define Py_TYPE(ob)   (((PyObject*)(ob))->ob_type)
 
#define PyBool_FromLong   PyInt_FromLong
 
#define PyBytes_AS_STRING   PyString_AS_STRING
 
#define PyBytes_AsString   PyString_AsString
 
#define PyBytes_Check   PyString_Check
 
#define PyBytes_CheckExact   PyString_CheckExact
 
#define PyBytes_FromFormat   PyString_FromFormat
 
#define PyBytes_FromString   PyString_FromString
 
#define PyBytes_FromStringAndSize   PyString_FromStringAndSize
 
#define PyBytes_GET_SIZE   PyString_GET_SIZE
 
#define PyBytes_Size   PyString_Size
 
#define PyBytes_Type   PyString_Type
 
#define PyIndex_Check(obj)    (PyInt_Check(obj) || PyLong_Check(obj))
 
#define PyInt_AsSsize_t   PyInt_AsLong
 
#define PyInt_FromSsize_t   PyInt_FromLong
 
#define PYROOT__div__   "__div__"
 
#define PYROOT__idiv__   "__idiv__"
 
#define PYROOT__long__   "__long__"
 
#define PYROOT__next__   "next"
 
#define PyROOT_PyCapsule_CheckExact   PyCObject_Check
 
#define PyROOT_PySliceCast   PySliceObject*
 
#define PyROOT_PyUnicode_Append   PyString_Concat
 
#define PyROOT_PyUnicode_AppendAndDel   PyString_ConcatAndDel
 
#define PyROOT_PyUnicode_AsString   PyString_AS_STRING
 
#define PyROOT_PyUnicode_AsStringChecked   PyString_AsString
 
#define PyROOT_PyUnicode_Check   PyString_Check
 
#define PyROOT_PyUnicode_CheckExact   PyString_CheckExact
 
#define PyROOT_PyUnicode_FromFormat   PyString_FromFormat
 
#define PyROOT_PyUnicode_FromString   PyString_FromString
 
#define PyROOT_PyUnicode_FromStringAndSize   PyString_FromStringAndSize
 
#define PyROOT_PyUnicode_GET_SIZE   PyString_GET_SIZE
 
#define PyROOT_PyUnicode_GetSize   PyString_Size
 
#define PyROOT_PyUnicode_InternFromString   PyString_InternFromString
 
#define PyROOT_PyUnicode_Type   PyString_Type
 
#define PyVarObject_HEAD_INIT(type, size)    PyObject_HEAD_INIT(type) size,
 
#define ssizeargfunc   intargfunc
 
#define ssizeobjargproc   intobjargproc
 

Typedefs

typedef PyDictEntry *(* dict_lookup_func) (PyDictObject *, PyObject *, Long_t)
 
typedef int Py_ssize_t
 

Functions

Py_ssize_t PyNumber_AsSsize_t (PyObject *obj, PyObject *)
 
static voidPyROOT_PyCapsule_GetPointer (PyObject *capsule, const char *)
 
static PyObjectPyROOT_PyCapsule_New (void *cobj, const char *, void(*destr)(void *))
 

Macro Definition Documentation

◆ lenfunc

#define lenfunc   inquiry

Definition at line 180 of file PyROOT.h.

◆ PY_SSIZE_T_FORMAT

#define PY_SSIZE_T_FORMAT   "%d"

Definition at line 174 of file PyROOT.h.

◆ PY_SSIZE_T_MAX

#define PY_SSIZE_T_MAX   INT_MAX

Definition at line 176 of file PyROOT.h.

◆ PY_SSIZE_T_MIN

#define PY_SSIZE_T_MIN   INT_MIN

Definition at line 177 of file PyROOT.h.

◆ Py_TYPE

#define Py_TYPE (   ob)    (((PyObject*)(ob))->ob_type)

Definition at line 166 of file PyROOT.h.

◆ PyBool_FromLong

#define PyBool_FromLong   PyInt_FromLong

Definition at line 207 of file PyROOT.h.

◆ PyBytes_AS_STRING

#define PyBytes_AS_STRING   PyString_AS_STRING

Definition at line 66 of file PyROOT.h.

◆ PyBytes_AsString

#define PyBytes_AsString   PyString_AsString

Definition at line 67 of file PyROOT.h.

◆ PyBytes_Check

#define PyBytes_Check   PyString_Check

Definition at line 64 of file PyROOT.h.

◆ PyBytes_CheckExact

#define PyBytes_CheckExact   PyString_CheckExact

Definition at line 65 of file PyROOT.h.

◆ PyBytes_FromFormat

#define PyBytes_FromFormat   PyString_FromFormat

Definition at line 70 of file PyROOT.h.

◆ PyBytes_FromString

#define PyBytes_FromString   PyString_FromString

Definition at line 71 of file PyROOT.h.

◆ PyBytes_FromStringAndSize

#define PyBytes_FromStringAndSize   PyString_FromStringAndSize

Definition at line 72 of file PyROOT.h.

◆ PyBytes_GET_SIZE

#define PyBytes_GET_SIZE   PyString_GET_SIZE

Definition at line 68 of file PyROOT.h.

◆ PyBytes_Size

#define PyBytes_Size   PyString_Size

Definition at line 69 of file PyROOT.h.

◆ PyBytes_Type

#define PyBytes_Type   PyString_Type

Definition at line 74 of file PyROOT.h.

◆ PyIndex_Check

#define PyIndex_Check (   obj)     (PyInt_Check(obj) || PyLong_Check(obj))

Definition at line 183 of file PyROOT.h.

◆ PyInt_AsSsize_t

#define PyInt_AsSsize_t   PyInt_AsLong

Definition at line 172 of file PyROOT.h.

◆ PyInt_FromSsize_t

#define PyInt_FromSsize_t   PyInt_FromLong

Definition at line 173 of file PyROOT.h.

◆ PYROOT__div__

#define PYROOT__div__   "__div__"

Definition at line 102 of file PyROOT.h.

◆ PYROOT__idiv__

#define PYROOT__idiv__   "__idiv__"

Definition at line 101 of file PyROOT.h.

◆ PYROOT__long__

#define PYROOT__long__   "__long__"

Definition at line 100 of file PyROOT.h.

◆ PYROOT__next__

#define PYROOT__next__   "next"

Definition at line 103 of file PyROOT.h.

◆ PyROOT_PyCapsule_CheckExact

#define PyROOT_PyCapsule_CheckExact   PyCObject_Check

Definition at line 94 of file PyROOT.h.

◆ PyROOT_PySliceCast

#define PyROOT_PySliceCast   PySliceObject*

Definition at line 159 of file PyROOT.h.

◆ PyROOT_PyUnicode_Append

#define PyROOT_PyUnicode_Append   PyString_Concat

Definition at line 84 of file PyROOT.h.

◆ PyROOT_PyUnicode_AppendAndDel

#define PyROOT_PyUnicode_AppendAndDel   PyString_ConcatAndDel

Definition at line 85 of file PyROOT.h.

◆ PyROOT_PyUnicode_AsString

#define PyROOT_PyUnicode_AsString   PyString_AS_STRING

Definition at line 78 of file PyROOT.h.

◆ PyROOT_PyUnicode_AsStringChecked

#define PyROOT_PyUnicode_AsStringChecked   PyString_AsString

Definition at line 79 of file PyROOT.h.

◆ PyROOT_PyUnicode_Check

#define PyROOT_PyUnicode_Check   PyString_Check

Definition at line 76 of file PyROOT.h.

◆ PyROOT_PyUnicode_CheckExact

#define PyROOT_PyUnicode_CheckExact   PyString_CheckExact

Definition at line 77 of file PyROOT.h.

◆ PyROOT_PyUnicode_FromFormat

#define PyROOT_PyUnicode_FromFormat   PyString_FromFormat

Definition at line 81 of file PyROOT.h.

◆ PyROOT_PyUnicode_FromString

#define PyROOT_PyUnicode_FromString   PyString_FromString

Definition at line 82 of file PyROOT.h.

◆ PyROOT_PyUnicode_FromStringAndSize

#define PyROOT_PyUnicode_FromStringAndSize   PyString_FromStringAndSize

Definition at line 86 of file PyROOT.h.

◆ PyROOT_PyUnicode_GET_SIZE

#define PyROOT_PyUnicode_GET_SIZE   PyString_GET_SIZE

Definition at line 80 of file PyROOT.h.

◆ PyROOT_PyUnicode_GetSize

#define PyROOT_PyUnicode_GetSize   PyString_Size

Definition at line 54 of file PyROOT.h.

◆ PyROOT_PyUnicode_InternFromString

#define PyROOT_PyUnicode_InternFromString   PyString_InternFromString

Definition at line 83 of file PyROOT.h.

◆ PyROOT_PyUnicode_Type

#define PyROOT_PyUnicode_Type   PyString_Type

Definition at line 88 of file PyROOT.h.

◆ PyVarObject_HEAD_INIT

#define PyVarObject_HEAD_INIT (   type,
  size 
)     PyObject_HEAD_INIT(type) size,

Definition at line 164 of file PyROOT.h.

◆ ssizeargfunc

#define ssizeargfunc   intargfunc

Definition at line 181 of file PyROOT.h.

◆ ssizeobjargproc

#define ssizeobjargproc   intobjargproc

Definition at line 179 of file PyROOT.h.

Typedef Documentation

◆ dict_lookup_func

typedef PyDictEntry *(* dict_lookup_func) (PyDictObject *, PyObject *, Long_t)

Definition at line 43 of file PyROOT.h.

◆ Py_ssize_t

typedef int Py_ssize_t

Definition at line 171 of file PyROOT.h.

Function Documentation

◆ PyNumber_AsSsize_t()

Py_ssize_t PyNumber_AsSsize_t ( PyObject obj,
PyObject  
)
inline

Definition at line 186 of file PyROOT.h.

◆ PyROOT_PyCapsule_GetPointer()

static void * PyROOT_PyCapsule_GetPointer ( PyObject capsule,
const char *   
)
inlinestatic

Definition at line 95 of file PyROOT.h.

◆ PyROOT_PyCapsule_New()

static PyObject * PyROOT_PyCapsule_New ( void cobj,
const char *  ,
void(*)(void *)  destr 
)
inlinestatic

Definition at line 90 of file PyROOT.h.