34static void AddToGlobalScope(
const char *label,
TObject *obj,
const char *classname)
56#if PY_VERSION_HEX < 0x03090000
64 AddToGlobalScope(
"gROOT",
gROOT,
gROOT->IsA()->GetName());
PyROOT::RegulatorCleanup & GetRegulatorCleanup()
R__EXTERN TSystem * gSystem
A TObject-derived class to inject the memory regulation logic in the ROOT list of cleanups.
void CallClearProxiedObjects()
const char * GetName() const override
Returns name of object.
Mother of all ROOT objects.
TClass * IsA() const override
CPYCPPYY_EXTERN PyObject * Instance_FromVoidPtr(void *addr, const std::string &classname, bool python_owns=false)
PyObject * ClearProxiedObjects(PyObject *self, PyObject *args)