85 args = Py_VaBuildValue((
char *)format, va);
94 if (!PyTuple_Check(args)) {
96 PyTuple_SET_ITEM(t, 0, args);
126 va_start(va, format);
128 args = Py_VaBuildValue((
char *)format, va);
137 if (!PyTuple_Check(args)) {
139 PyTuple_SET_ITEM(t, 0, pyobj);
140 PyTuple_SET_ITEM(t, 1, args);
143 PyObject *t = PyTuple_New(PyTuple_GET_SIZE(args) + 1);
144 PyTuple_SET_ITEM(t, 0, pyobj);
145 for (
int i = 0; i < PyTuple_GET_SIZE(args); i++) {
146 PyObject *item = PyTuple_GET_ITEM(args, i);
148 PyTuple_SET_ITEM(t, i + 1, item);
154 args = PyTuple_New(1);
155 PyTuple_SET_ITEM(args, 0, pyobj);
#define PyBytes_FromString
Mother of all ROOT objects.
TObject & operator=(const TObject &rhs)
TObject assignment operator.
The most important graphics class in the ROOT system.
TPyDispatcher & operator=(const TPyDispatcher &)
Assignment operator. Applies python object reference counting.
PyObject * DispatchVA1(const char *clname, void *obj, const char *format,...)
~TPyDispatcher()
Destructor. Reference counting for the held python object is in effect.
TPyDispatcher(PyObject *callable)
PyObject * DispatchVA(const char *format=0,...)
Class describing a PROOF worker server.
TVirtualPad is an abstract base class for the Pad and Canvas classes.
PyObject * BindCppObject(Cppyy::TCppObject_t object, Cppyy::TCppType_t klass, const unsigned flags=0)
RPY_EXPORTED TCppScope_t GetScope(const std::string &scope_name)
static constexpr double pi