ROOT  6.06/09
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

#define lenfunc   inquiry

Definition at line 163 of file PyROOT.h.

Referenced by TTreeFormula::DefinedVariable().

#define PY_SSIZE_T_FORMAT   "%d"

Definition at line 157 of file PyROOT.h.

Referenced by ExtractChar().

#define PY_SSIZE_T_MAX   INT_MAX

Definition at line 159 of file PyROOT.h.

#define PY_SSIZE_T_MIN   INT_MIN

Definition at line 160 of file PyROOT.h.

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

Definition at line 190 of file PyROOT.h.

#define PyBytes_AS_STRING   PyString_AS_STRING

Definition at line 54 of file PyROOT.h.

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

#define PyBytes_AsString   PyString_AsString

Definition at line 55 of file PyROOT.h.

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

#define PyBytes_Check   PyString_Check

Definition at line 52 of file PyROOT.h.

Referenced by TPython::Eval(), PyROOT::Utility::GetBuffer(), and TPython::LoadMacro().

#define PyBytes_CheckExact   PyString_CheckExact

Definition at line 53 of file PyROOT.h.

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

#define PyBytes_FromFormat   PyString_FromFormat

Definition at line 58 of file PyROOT.h.

#define PyBytes_FromString   PyString_FromString

Definition at line 59 of file PyROOT.h.

Referenced by TPyDispatcher::Dispatch(), and nullptr_repr().

#define PyBytes_FromStringAndSize   PyString_FromStringAndSize

Definition at line 60 of file PyROOT.h.

#define PyBytes_GET_SIZE   PyString_GET_SIZE

Definition at line 56 of file PyROOT.h.

#define PyBytes_Size   PyString_Size

Definition at line 57 of file PyROOT.h.

#define PyBytes_Type   PyString_Type

Definition at line 62 of file PyROOT.h.

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

Definition at line 166 of file PyROOT.h.

#define PyInt_AsSsize_t   PyInt_AsLong

Definition at line 155 of file PyROOT.h.

#define PyInt_FromSsize_t   PyInt_FromLong

Definition at line 156 of file PyROOT.h.

#define PYROOT__div__   "__div__"

Definition at line 91 of file PyROOT.h.

Referenced by PyROOT::CreatePyStrings().

#define PYROOT__idiv__   "__idiv__"

Definition at line 90 of file PyROOT.h.

#define PYROOT__long__   "__long__"

Definition at line 89 of file PyROOT.h.

#define PyROOT_PyCapsule_CheckExact   PyCObject_Check

Definition at line 83 of file PyROOT.h.

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

#define PyROOT_PySliceCast   PySliceObject*

Definition at line 142 of file PyROOT.h.

#define PyROOT_PyUnicode_Append   PyString_Concat

Definition at line 73 of file PyROOT.h.

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

#define PyROOT_PyUnicode_AppendAndDel   PyString_ConcatAndDel

Definition at line 74 of file PyROOT.h.

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

#define PyROOT_PyUnicode_AsString   PyString_AS_STRING
#define PyROOT_PyUnicode_AsStringChecked   PyString_AsString
#define PyROOT_PyUnicode_Check   PyString_Check

Definition at line 64 of file PyROOT.h.

Referenced by PyROOT::Utility::BuildTemplateName(), and ExtractChar().

#define PyROOT_PyUnicode_CheckExact   PyString_CheckExact

Definition at line 65 of file PyROOT.h.

#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

Definition at line 69 of file PyROOT.h.

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

#define PyROOT_PyUnicode_InternFromString   PyString_InternFromString

Definition at line 72 of file PyROOT.h.

#define PyROOT_PyUnicode_Type   PyString_Type

Definition at line 77 of file PyROOT.h.

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

Definition at line 147 of file PyROOT.h.

#define ssizeargfunc   intargfunc

Definition at line 164 of file PyROOT.h.

#define ssizeobjargproc   intobjargproc

Definition at line 162 of file PyROOT.h.

Typedef Documentation

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

Definition at line 43 of file PyROOT.h.

typedef int Py_ssize_t

Definition at line 154 of file PyROOT.h.

Function Documentation

Py_ssize_t PyNumber_AsSsize_t ( PyObject obj,
PyObject  
)
inline

Definition at line 169 of file PyROOT.h.

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

Definition at line 84 of file PyROOT.h.

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

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

Definition at line 79 of file PyROOT.h.