25#define PYROOT_INITIALIZE_STRING(var, str) \
26 if (!(PyStrings::var = CPyCppyy_PyText_InternFromString((char *)#str))) \
48 Py_DECREF(PyStrings::gBranch);
49 PyStrings::gBranch =
nullptr;
50 Py_DECREF(PyStrings::gFitFCN);
51 PyStrings::gFitFCN =
nullptr;
52 Py_DECREF(PyStrings::gROOTns);
53 PyStrings::gROOTns =
nullptr;
54 Py_DECREF(PyStrings::gSetBranchAddress);
55 PyStrings::gSetBranchAddress =
nullptr;
56 Py_DECREF(PyStrings::gSetFCN);
57 PyStrings::gSetFCN =
nullptr;
58 Py_DECREF(PyStrings::gTClassDynCast);
59 PyStrings::gTClassDynCast =
nullptr;
60 Py_DECREF(PyStrings::gClass);
61 PyStrings::gClass =
nullptr;
#define PYROOT_INITIALIZE_STRING(var, str)
R__EXTERN PyObject * gSetFCN
R__EXTERN PyObject * gClass
R__EXTERN PyObject * gFitFCN
R__EXTERN PyObject * gROOTns
R__EXTERN PyObject * gTClassDynCast
R__EXTERN PyObject * gSetBranchAddress
R__EXTERN PyObject * gBranch
PyObject * DestroyPyStrings()
Remove all cached python strings.
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.