19#include "../../cppyy/CPyCppyy/src/CallContext.h"
20#include "../../cppyy/CPyCppyy/src/ProxyWrappers.h"
25#include "RConfigure.h"
42 (
char *)
"Add a custom pickling mechanism for Cppyy Python proxy objects"},
44 (
char *)
"Allow to access branches as tree attributes"},
46 (
char *)
"Cast the void* returned by TClass::DynamicCast to the right type"},
48 (
char *)
"Add equality and inequality comparison operators to TObject"},
50 (
char *)
"Fully enable the use of TTree::SetBranchAddress from Python"},
52 (
char *)
"Fully enable the use of TTree::Branch from Python"},
54 (
char *)
"Add pretty printing pythonization"},
56 (
char *)
"Initialize interactive ROOT use from Python"},
58 (
char *)
"Install an input hook to process GUI events"},
60 (
char *)
"Deserialize a pickled object"},
62 (
char *)
"Clear proxied objects regulated by PyROOT"},
63 {NULL, NULL, 0, NULL}};
69#define GETSTATE(m) ((struct module_state *)PyModule_GetState(m))
83static struct PyModuleDef
moduledef = {PyModuleDef_HEAD_INIT,
"libROOTPythonizations", NULL,
94 gRootModule = PyModule_Create(&
moduledef);
102 PyImport_ImportModule(
"libcppyy");
113 Py_INCREF(gRootModule);
static struct PyModuleDef moduledef
PyObject * PyInit_libROOTPythonizations()
Initialization of extension module libROOTPythonizations.
static int rootmodule_clear(PyObject *m)
static int rootmodule_traverse(PyObject *m, visitproc visit, void *arg)
static PyMethodDef gPyROOTMethods[]
static PyObject * InstallGUIEventInputHook(PyObject *self, PyObject *args)
Install a method hook for sending events to the GUI.
static PyObject * InitApplication(PyObject *self, PyObject *args)
Initialize an RPyROOTApplication.
PyObject * CreateScopeProxy(Cppyy::TCppScope_t, const unsigned flags=0)
PyObject * AddTObjectEqNePyz(PyObject *self, PyObject *args)
Add pythonization for equality and inequality operators in TObject.
PyObject * SetBranchAddressPyz(PyObject *self, PyObject *args)
Add pythonization for TTree::SetBranchAddress.
PyObject * BranchPyz(PyObject *self, PyObject *args)
Add pythonization for TTree::Branch.
PyObject * ClearProxiedObjects(PyObject *self, PyObject *args)
PyObject * AddCPPInstancePickling(PyObject *self, PyObject *args)
Set reduce attribute for CPPInstance objects.
PyObject * AddBranchAttrSyntax(PyObject *self, PyObject *args)
Allow branches to be accessed as attributes of a tree.
PyObject * CPPInstanceExpand(PyObject *self, PyObject *args)
Deserialize pickled objects.
PyObject * AddTClassDynamicCastPyz(PyObject *self, PyObject *args)
Add pythonization for TClass::DynamicCast.
PyObject * AddPrettyPrintingPyz(PyObject *self, PyObject *args)
Add pretty printing pythonization.
static bool SetGlobalSignalPolicy(bool setProtected)