1#ifndef CPYRT_COMPATIBILITY_H
2#define CPYRT_COMPATIBILITY_H
14#ifdef CPPJIT_USE_CLING
15 static PyObject* printValue =
nullptr;
20 PyDict_GetItemString(PySys_GetObject((
char*)
"modules"),
"cppjit.gbl");
21 PyObject* cling = gbl ? PyObject_GetAttrString(gbl, (
char*)
"cling") :
nullptr;
23 cling ? PyObject_GetAttrString(cling, (
char*)
"printValue") :
nullptr;
27 Py_DECREF(printValue);
28 if (!PyCallable_Check(printValue))
52#define CPPYY_LEGACY_API 1
70 for (
PyObject* candidate : candidates) {
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t attr
PyObject * gCppyyPythonize
PyObject * gCppyyExPythonize
PyObject * GetPythonizeHook(PyObject *pyclass)
PyObject * GetClingPrintValue()
std::string ObjToString(interop::TCppScope_t, interop::TCppObject_t)
PyObject * ExplicitPythonizeHookName(PyObject *pyclass)
Cpp::ObjectRef TCppObject_t