Logo ROOT   6.14/05
Reference Guide
Macros | Typedefs | Functions
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 165 of file PyROOT.h.

◆ PY_SSIZE_T_FORMAT

#define PY_SSIZE_T_FORMAT   "%d"

Definition at line 159 of file PyROOT.h.

◆ PY_SSIZE_T_MAX

#define PY_SSIZE_T_MAX   INT_MAX

Definition at line 161 of file PyROOT.h.

◆ PY_SSIZE_T_MIN

#define PY_SSIZE_T_MIN   INT_MIN

Definition at line 162 of file PyROOT.h.

◆ Py_TYPE

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

Definition at line 151 of file PyROOT.h.

◆ PyBool_FromLong

#define PyBool_FromLong   PyInt_FromLong

Definition at line 192 of file PyROOT.h.

◆ PyBytes_AS_STRING

#define PyBytes_AS_STRING   PyString_AS_STRING

Definition at line 54 of file PyROOT.h.

◆ PyBytes_AsString

#define PyBytes_AsString   PyString_AsString

Definition at line 55 of file PyROOT.h.

◆ PyBytes_Check

#define PyBytes_Check   PyString_Check

Definition at line 52 of file PyROOT.h.

◆ PyBytes_CheckExact

#define PyBytes_CheckExact   PyString_CheckExact

Definition at line 53 of file PyROOT.h.

◆ PyBytes_FromFormat

#define PyBytes_FromFormat   PyString_FromFormat

Definition at line 58 of file PyROOT.h.

◆ PyBytes_FromString

#define PyBytes_FromString   PyString_FromString

Definition at line 59 of file PyROOT.h.

◆ PyBytes_FromStringAndSize

#define PyBytes_FromStringAndSize   PyString_FromStringAndSize

Definition at line 60 of file PyROOT.h.

◆ PyBytes_GET_SIZE

#define PyBytes_GET_SIZE   PyString_GET_SIZE

Definition at line 56 of file PyROOT.h.

◆ PyBytes_Size

#define PyBytes_Size   PyString_Size

Definition at line 57 of file PyROOT.h.

◆ PyBytes_Type

#define PyBytes_Type   PyString_Type

Definition at line 62 of file PyROOT.h.

◆ PyIndex_Check

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

Definition at line 168 of file PyROOT.h.

◆ PyInt_AsSsize_t

#define PyInt_AsSsize_t   PyInt_AsLong

Definition at line 157 of file PyROOT.h.

◆ PyInt_FromSsize_t

#define PyInt_FromSsize_t   PyInt_FromLong

Definition at line 158 of file PyROOT.h.

◆ PYROOT__div__

#define PYROOT__div__   "__div__"

Definition at line 91 of file PyROOT.h.

◆ PYROOT__idiv__

#define PYROOT__idiv__   "__idiv__"

Definition at line 90 of file PyROOT.h.

◆ PYROOT__long__

#define PYROOT__long__   "__long__"

Definition at line 89 of file PyROOT.h.

◆ PYROOT__next__

#define PYROOT__next__   "next"

Definition at line 92 of file PyROOT.h.

◆ PyROOT_PyCapsule_CheckExact

#define PyROOT_PyCapsule_CheckExact   PyCObject_Check

Definition at line 83 of file PyROOT.h.

◆ PyROOT_PySliceCast

#define PyROOT_PySliceCast   PySliceObject*

Definition at line 144 of file PyROOT.h.

◆ PyROOT_PyUnicode_Append

#define PyROOT_PyUnicode_Append   PyString_Concat

Definition at line 73 of file PyROOT.h.

◆ PyROOT_PyUnicode_AppendAndDel

#define PyROOT_PyUnicode_AppendAndDel   PyString_ConcatAndDel

Definition at line 74 of file PyROOT.h.

◆ PyROOT_PyUnicode_AsString

#define PyROOT_PyUnicode_AsString   PyString_AS_STRING

Definition at line 66 of file PyROOT.h.

◆ PyROOT_PyUnicode_AsStringChecked

#define PyROOT_PyUnicode_AsStringChecked   PyString_AsString

Definition at line 67 of file PyROOT.h.

◆ PyROOT_PyUnicode_Check

#define PyROOT_PyUnicode_Check   PyString_Check

Definition at line 64 of file PyROOT.h.

◆ PyROOT_PyUnicode_CheckExact

#define PyROOT_PyUnicode_CheckExact   PyString_CheckExact

Definition at line 65 of file PyROOT.h.

◆ PyROOT_PyUnicode_FromFormat

#define PyROOT_PyUnicode_FromFormat   PyString_FromFormat

Definition at line 70 of file PyROOT.h.

◆ PyROOT_PyUnicode_FromString

#define PyROOT_PyUnicode_FromString   PyString_FromString

Definition at line 71 of file PyROOT.h.

◆ PyROOT_PyUnicode_FromStringAndSize

#define PyROOT_PyUnicode_FromStringAndSize   PyString_FromStringAndSize

Definition at line 75 of file PyROOT.h.

◆ PyROOT_PyUnicode_GET_SIZE

#define PyROOT_PyUnicode_GET_SIZE   PyString_GET_SIZE

Definition at line 68 of file PyROOT.h.

◆ PyROOT_PyUnicode_GetSize

#define PyROOT_PyUnicode_GetSize   PyString_Size

Definition at line 69 of file PyROOT.h.

◆ PyROOT_PyUnicode_InternFromString

#define PyROOT_PyUnicode_InternFromString   PyString_InternFromString

Definition at line 72 of file PyROOT.h.

◆ PyROOT_PyUnicode_Type

#define PyROOT_PyUnicode_Type   PyString_Type

Definition at line 77 of file PyROOT.h.

◆ PyVarObject_HEAD_INIT

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

Definition at line 149 of file PyROOT.h.

◆ ssizeargfunc

#define ssizeargfunc   intargfunc

Definition at line 166 of file PyROOT.h.

◆ ssizeobjargproc

#define ssizeobjargproc   intobjargproc

Definition at line 164 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 156 of file PyROOT.h.

Function Documentation

◆ PyNumber_AsSsize_t()

Py_ssize_t PyNumber_AsSsize_t ( PyObject obj,
PyObject  
)
inline

Definition at line 171 of file PyROOT.h.

◆ PyROOT_PyCapsule_GetPointer()

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

Definition at line 84 of file PyROOT.h.

◆ PyROOT_PyCapsule_New()

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

Definition at line 79 of file PyROOT.h.