ROOT  6.06/08
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:

Go to the source code of this file.

Macros

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

Typedefs

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

Functions

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

Macro Definition Documentation

§ lenfunc

#define lenfunc   inquiry

Definition at line 163 of file PyROOT.h.

Referenced by TTreeFormula::DefinedVariable().

§ PY_SSIZE_T_FORMAT

#define PY_SSIZE_T_FORMAT   "%d"

Definition at line 157 of file PyROOT.h.

Referenced by ExtractChar().

§ PY_SSIZE_T_MAX

#define PY_SSIZE_T_MAX   INT_MAX

Definition at line 159 of file PyROOT.h.

§ PY_SSIZE_T_MIN

#define PY_SSIZE_T_MIN   INT_MIN

Definition at line 160 of file PyROOT.h.

§ Py_TYPE

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

§ PyBool_FromLong

#define PyBool_FromLong   PyInt_FromLong

Definition at line 190 of file PyROOT.h.

§ PyBytes_AS_STRING

#define PyBytes_AS_STRING   PyString_AS_STRING

Definition at line 54 of file PyROOT.h.

Referenced by PyROOT::TCppObjectRefExecutor::Execute().

§ PyBytes_AsString

#define PyBytes_AsString   PyString_AsString

Definition at line 55 of file PyROOT.h.

Referenced by TPyReturn::operator const char *().

§ PyBytes_Check

#define PyBytes_Check   PyString_Check

§ PyBytes_CheckExact

#define PyBytes_CheckExact   PyString_CheckExact

Definition at line 53 of file PyROOT.h.

Referenced by PyROOT::TCppObjectRefExecutor::Execute(), and TPython::LoadMacro().

§ PyBytes_FromFormat

#define PyBytes_FromFormat   PyString_FromFormat

Definition at line 58 of file PyROOT.h.

§ PyBytes_FromString

#define PyBytes_FromString   PyString_FromString

§ PyBytes_FromStringAndSize

#define PyBytes_FromStringAndSize   PyString_FromStringAndSize

Definition at line 60 of file PyROOT.h.

Referenced by PyROOT::op_dealloc_nofree().

§ 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 166 of file PyROOT.h.

§ PyInt_AsSsize_t

#define PyInt_AsSsize_t   PyInt_AsLong

Definition at line 155 of file PyROOT.h.

Referenced by OP2TCLASS().

§ PyInt_FromSsize_t

#define PyInt_FromSsize_t   PyInt_FromLong

Definition at line 156 of file PyROOT.h.

Referenced by OP2TCLASS().

§ PYROOT__div__

#define PYROOT__div__   "__div__"

Definition at line 91 of file PyROOT.h.

Referenced by PyROOT::CreatePyStrings().

§ 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_PyCapsule_CheckExact

#define PyROOT_PyCapsule_CheckExact   PyCObject_Check

Definition at line 83 of file PyROOT.h.

Referenced by PyROOT::TVoidArrayConverter::GetAddressSpecialCase().

§ PyROOT_PySliceCast

#define PyROOT_PySliceCast   PySliceObject*

Definition at line 142 of file PyROOT.h.

Referenced by OP2TCLASS().

§ PyROOT_PyUnicode_Append

#define PyROOT_PyUnicode_Append   PyString_Concat

Definition at line 73 of file PyROOT.h.

Referenced by PyROOT::Utility::BuildTemplateName().

§ PyROOT_PyUnicode_AppendAndDel

#define PyROOT_PyUnicode_AppendAndDel   PyString_ConcatAndDel

§ PyROOT_PyUnicode_AsString

#define PyROOT_PyUnicode_AsString   PyString_AS_STRING

§ PyROOT_PyUnicode_AsStringChecked

#define PyROOT_PyUnicode_AsStringChecked   PyString_AsString

§ PyROOT_PyUnicode_Check

#define PyROOT_PyUnicode_Check   PyString_Check

§ 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

§ PyROOT_PyUnicode_FromString

#define PyROOT_PyUnicode_FromString   PyString_FromString

§ PyROOT_PyUnicode_FromStringAndSize

#define PyROOT_PyUnicode_FromStringAndSize   PyString_FromStringAndSize

§ PyROOT_PyUnicode_GET_SIZE

#define PyROOT_PyUnicode_GET_SIZE   PyString_GET_SIZE

§ PyROOT_PyUnicode_GetSize

#define PyROOT_PyUnicode_GetSize   PyString_Size

Definition at line 69 of file PyROOT.h.

Referenced by PyROOT::Utility::BuildTemplateName().

§ 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.

Referenced by PyROOT::op_dealloc_nofree(), and PyROOT::TTreeGetAttr().

§ PyVarObject_HEAD_INIT

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

Definition at line 147 of file PyROOT.h.

Referenced by OP2TCLASS().

§ ssizeargfunc

#define ssizeargfunc   intargfunc

Definition at line 164 of file PyROOT.h.

§ ssizeobjargproc

#define ssizeobjargproc   intobjargproc

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

Function Documentation

§ PyNumber_AsSsize_t()

Py_ssize_t PyNumber_AsSsize_t ( PyObject obj,
PyObject  
)
inline

Definition at line 169 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.

Referenced by PyROOT::TVoidArrayConverter::GetAddressSpecialCase().

§ PyROOT_PyCapsule_New()

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

Definition at line 79 of file PyROOT.h.

Referenced by PyROOT::TFNPyCallback().