Logo ROOT  
Reference Guide
RootModule.cxx File Reference
#include "PyROOT.h"
#include "PyStrings.h"
#include "PyRootType.h"
#include "ObjectProxy.h"
#include "MethodProxy.h"
#include "TemplateProxy.h"
#include "PropertyProxy.h"
#include "TPyBufferFactory.h"
#include "TCustomPyTypes.h"
#include "TTupleOfInstances.h"
#include "RootWrapper.h"
#include "TCallContext.h"
#include "Utility.h"
#include "TObject.h"
#include "TROOT.h"
#include "TBufferFile.h"
#include <string>
#include <sstream>
#include <utility>
#include <vector>
Include dependency graph for RootModule.cxx:

Namespaces

namespace  PyROOT
 

Macros

#define PYROOT_GET_DICT_LOOKUP(mp)    ((dict_lookup_func&)mp->ma_lookup)
 
#define PYROOT_INIT_ERROR   return
 
#define PYROOT_ORGDICT_LOOKUP(mp, key, hash, value_addr)    OrgDictLookup( mp, key, hash )
 

Functions

void initlibPyROOT ()
 
static void nullptr_dealloc (PyObject *)
 
static int nullptr_nonzero (PyObject *)
 
static PyObjectnullptr_repr (PyObject *)
 

Variables

PyObject _PyROOT_NullPtrStruct
 
std::vector< Cppyy::TCppType_tPyROOT::gIgnorePinnings
 
std::vector< std::pair< Cppyy::TCppType_t, Cppyy::TCppType_t > > PyROOT::gPinnedTypes
 
static PyMethodDef gPyROOTMethods []
 
static PyNumberMethods nullptr_as_number
 
static PyTypeObject PyNullPtr_t_Type
 

Macro Definition Documentation

◆ PYROOT_GET_DICT_LOOKUP

#define PYROOT_GET_DICT_LOOKUP (   mp)     ((dict_lookup_func&)mp->ma_lookup)

Definition at line 55 of file RootModule.cxx.

◆ PYROOT_INIT_ERROR

#define PYROOT_INIT_ERROR   return

Definition at line 894 of file RootModule.cxx.

◆ PYROOT_ORGDICT_LOOKUP

#define PYROOT_ORGDICT_LOOKUP (   mp,
  key,
  hash,
  value_addr 
)     OrgDictLookup( mp, key, hash )

Definition at line 303 of file RootModule.cxx.

Function Documentation

◆ initlibPyROOT()

void initlibPyROOT ( )

Definition at line 895 of file RootModule.cxx.

◆ nullptr_dealloc()

static void nullptr_dealloc ( PyObject )
static

Definition at line 66 of file RootModule.cxx.

◆ nullptr_nonzero()

static int nullptr_nonzero ( PyObject )
static

Definition at line 71 of file RootModule.cxx.

◆ nullptr_repr()

static PyObject * nullptr_repr ( PyObject )
static

Definition at line 61 of file RootModule.cxx.

Variable Documentation

◆ _PyROOT_NullPtrStruct

PyObject _PyROOT_NullPtrStruct
Initial value:
= {
_PyObject_EXTRA_INIT
}
static PyTypeObject PyNullPtr_t_Type
Definition: RootModule.cxx:120

Definition at line 154 of file RootModule.cxx.

◆ gPyROOTMethods

PyMethodDef gPyROOTMethods[]
static

Definition at line 801 of file RootModule.cxx.

◆ nullptr_as_number

PyNumberMethods nullptr_as_number
static

Definition at line 76 of file RootModule.cxx.

◆ PyNullPtr_t_Type

PyTypeObject PyNullPtr_t_Type
static
Initial value:
= {
PyVarObject_HEAD_INIT( &PyType_Type, 0 )
"nullptr_t",
sizeof(PyObject),
0,
0, 0, 0, 0,
0, 0,
(hashfunc)_Py_HashPointer,
0, 0, 0, 0, 0, Py_TPFLAGS_DEFAULT, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
}
#define PyVarObject_HEAD_INIT(type, size)
Definition: PyROOT.h:164
static PyObject * nullptr_repr(PyObject *)
Definition: RootModule.cxx:61
static PyNumberMethods nullptr_as_number
Definition: RootModule.cxx:76
static void nullptr_dealloc(PyObject *)
Definition: RootModule.cxx:66
_object PyObject
Definition: TPyArg.h:20

Definition at line 120 of file RootModule.cxx.