PyROOT.h File Reference

#include "Python.h"
#include "Rtypes.h"

Go to the source code of this file.

Defines

#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__long__   "__long__"
#define PYROOT__idiv__   "__idiv__"
#define PYROOT__div__   "__div__"
#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))

Typedefs

typedef int Py_ssize_t

Functions

Py_ssize_t PyNumber_AsSsize_t (PyObject *obj, PyObject *)


Define Documentation

#define lenfunc   inquiry

Definition at line 133 of file PyROOT.h.

Referenced by TTreeFormula::DefinedVariable().

#define PY_SSIZE_T_FORMAT   "%d"

Definition at line 127 of file PyROOT.h.

Referenced by BindObject(), and MakeNullPointer().

#define PY_SSIZE_T_MAX   INT_MAX

Definition at line 129 of file PyROOT.h.

#define PY_SSIZE_T_MIN   INT_MIN

Definition at line 130 of file PyROOT.h.

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

Definition at line 119 of file PyROOT.h.

Referenced by buffer_length(), PyROOT::BuildRootClassDict(), CreateNewROOTPythonClass(), DeRefGetAttr(), PyROOT::Utility::GetBuffer(), PyROOT::HashSignature(), PyROOT::MethodProxy_CheckExact(), PyROOT::mp_disp(), PyROOT::mp_richcompare(), PyROOT::ObjectProxy::ObjectIsA(), PyROOT::ObjectProxy_CheckExact(), PyROOT::op_dealloc(), PyROOT::op_richcompare(), PyROOT::pp_dealloc(), PyROOT::PropertyProxy_CheckExact(), pyroot_buffer_ass_subscript(), PyROOT::PyRootType_CheckExact(), PyROOT::TMemoryRegulator::RecursiveRemove(), RootLookDictString(), PyROOT::TCustomFloat_CheckExact(), PyROOT::TCustomInstanceMethod_CheckExact(), PyROOT::TCustomInt_CheckExact(), and PyROOT::TemplateProxy_CheckExact().

#define PyBytes_AS_STRING   PyString_AS_STRING

Definition at line 44 of file PyROOT.h.

Referenced by ObjectProxyExpand().

#define PyBytes_AsString   PyString_AsString

Definition at line 45 of file PyROOT.h.

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

#define PyBytes_Check   PyString_Check

Definition at line 42 of file PyROOT.h.

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

#define PyBytes_CheckExact   PyString_CheckExact

Definition at line 43 of file PyROOT.h.

Referenced by TPython::LoadMacro().

#define PyBytes_FromFormat   PyString_FromFormat

Definition at line 48 of file PyROOT.h.

#define PyBytes_FromString   PyString_FromString

Definition at line 49 of file PyROOT.h.

Referenced by buf_typecode(), PyROOT::op_reduce(), and PyMemFuncCallback().

#define PyBytes_FromStringAndSize   PyString_FromStringAndSize

Definition at line 50 of file PyROOT.h.

Referenced by PyROOT::op_reduce().

#define PyBytes_GET_SIZE   PyString_GET_SIZE

Definition at line 46 of file PyROOT.h.

Referenced by ObjectProxyExpand().

#define PyBytes_Size   PyString_Size

Definition at line 47 of file PyROOT.h.

#define PyBytes_Type   PyString_Type

Definition at line 52 of file PyROOT.h.

Referenced by ObjectProxyExpand().

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

Definition at line 136 of file PyROOT.h.

Referenced by pyroot_buffer_ass_subscript().

#define PyInt_AsSsize_t   PyInt_AsLong

Definition at line 125 of file PyROOT.h.

Referenced by buffer_length(), buffer_setsize(), CheckedGetItem(), and PyStyleIndex().

#define PyInt_FromSsize_t   PyInt_FromLong

Definition at line 126 of file PyROOT.h.

Referenced by TCollectionCount(), TObjStringLength(), TSeqCollectionPop(), and VectorGetItem().

#define PYROOT__div__   "__div__"

Definition at line 71 of file PyROOT.h.

Referenced by PyROOT::CreatePyStrings().

#define PYROOT__idiv__   "__idiv__"

Definition at line 70 of file PyROOT.h.

#define PYROOT__long__   "__long__"

Definition at line 69 of file PyROOT.h.

#define PyROOT_PyUnicode_Append   PyString_Concat

Definition at line 63 of file PyROOT.h.

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

#define PyROOT_PyUnicode_AppendAndDel   PyString_ConcatAndDel

Definition at line 64 of file PyROOT.h.

Referenced by PyROOT::Utility::BuildTemplateName(), PyROOT::Utility::ErrMsgCallback(), and PyROOT::mp_doc().

#define PyROOT_PyUnicode_AsString   PyString_AS_STRING

Definition at line 56 of file PyROOT.h.

Referenced by TPySelector::Abort(), PyROOT::Utility::AddBinaryOperator(), BindObject_(), PyROOT::Utility::BuildTemplateName(), PyROOT::Utility::ClassName(), PyROOT::TPyROOTApplication::CreatePyROOTApplication(), DeRefGetAttr(), TPython::Eval(), PyROOT::Utility::GetBuffer(), TPyClassGenerator::GetClass(), GetObjectProxyAddress(), PyROOT::GetRootGlobal(), TPython::LoadMacro(), LookupRootEntity(), PyROOT::MakeRootClass(), PyROOT::MakeRootClassFromString(), MakeRootTemplateClass(), PyROOT::mp_call(), PyROOT::mp_disp(), PyROOT::op_repr(), PyROOT::TTreeSetBranchAddress::operator()(), PyROOT::TTreeBranch::operator()(), PyROOT::TConstructorHolder< T, M >::operator()(), PyROOT::pt_getattro(), PyROOT::pt_new(), PyCtorCallback(), PyROOT::Pythonize(), PyROOT::TMethodHolder< T, M >::SetPyError_(), TDirectoryGetObject(), TDirectoryWriteObject(), PyROOT::tpp_call(), and PyROOT::TTreeGetAttr().

#define PyROOT_PyUnicode_AsStringChecked   PyString_AsString

Definition at line 57 of file PyROOT.h.

Referenced by PyROOT::TCStringConverter::SetArg(), and PyROOT::TCStringConverter::ToMemory().

#define PyROOT_PyUnicode_Check   PyString_Check

Definition at line 54 of file PyROOT.h.

Referenced by BindObject_(), PyROOT::Utility::BuildTemplateName(), DeRefGetAttr(), PyROOT::Utility::ErrMsgCallback(), FollowGetAttr(), PyROOT::mp_disp(), and TObjectContains().

#define PyROOT_PyUnicode_CheckExact   PyString_CheckExact

Definition at line 55 of file PyROOT.h.

Referenced by LookupRootEntity(), and PyROOT::pt_getattro().

#define PyROOT_PyUnicode_FromFormat   PyString_FromFormat

Definition at line 60 of file PyROOT.h.

Referenced by PyROOT::TMethodHolder< T, M >::FilterArgs(), PyROOT::Utility::GetBuffer(), PyROOT::TConstructorHolder< T, M >::GetDocString(), PyROOT::TMethodHolder< T, M >::GetPrototype(), PyROOT::mp_disp(), PyROOT::op_repr(), and PyROOT::TMethodHolder< T, M >::SetMethodArgs().

#define PyROOT_PyUnicode_FromString   PyString_FromString

Definition at line 61 of file PyROOT.h.

Referenced by PyROOT::Utility::BuildTemplateName(), PyROOT::CreatePyStrings(), PyROOT::Utility::ErrMsgCallback(), PyROOT::TCStringConverter::FromMemory(), PyROOT::TMacroConverter::FromMemory(), PyROOT::TMethodHolder< T, M >::GetArgDefault(), PyROOT::TMethodHolder< T, M >::GetArgSpec(), PyROOT::TTreeSetBranchAddress::GetPrototype(), PyROOT::TChainSetBranchAddress::GetPrototype(), PyROOT::TMethodHolder< T, M >::GetSignature(), PyROOT::TTreeMemberFunction::GetSignature(), PyROOT::MakeRootClassFromString(), MakeRootTemplateClass(), PyROOT::mp_doc(), PyROOT::mp_name(), and PyROOT::TemplateProxy::Set().

#define PyROOT_PyUnicode_FromStringAndSize   PyString_FromStringAndSize

Definition at line 65 of file PyROOT.h.

#define PyROOT_PyUnicode_GET_SIZE   PyString_GET_SIZE

Definition at line 58 of file PyROOT.h.

Referenced by PyROOT::op_repr(), and PyROOT::TCStringConverter::ToMemory().

#define PyROOT_PyUnicode_GetSize   PyString_Size

Definition at line 59 of file PyROOT.h.

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

#define PyROOT_PyUnicode_InternFromString   PyString_InternFromString

Definition at line 62 of file PyROOT.h.

#define PyROOT_PyUnicode_Type   PyString_Type

Definition at line 67 of file PyROOT.h.

Referenced by GetObjectProxyAddress(), PyROOT::TTreeBranch::operator()(), TDirectoryGetObject(), and TDirectoryWriteObject().

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

Definition at line 117 of file PyROOT.h.

#define ssizeargfunc   intargfunc

Definition at line 134 of file PyROOT.h.

#define ssizeobjargproc   intobjargproc

Definition at line 132 of file PyROOT.h.


Typedef Documentation

typedef int Py_ssize_t

Definition at line 124 of file PyROOT.h.


Function Documentation

Py_ssize_t PyNumber_AsSsize_t ( PyObject obj,
PyObject  
) [inline]

Definition at line 139 of file PyROOT.h.

Referenced by pyroot_buffer_ass_subscript().


Generated on Tue Jul 5 15:55:40 2011 for ROOT_528-00b_version by  doxygen 1.5.1