33 Py_XINCREF( callable );
51 if (
this != &other ) {
80 va_start( va, format );
82 args = Py_VaBuildValue( (
char*)format, va );
91 if ( ! PyTuple_Check( args ) ) {
93 PyTuple_SET_ITEM( t, 0, args );
124 va_start( va, format );
126 args = Py_VaBuildValue( (
char*)format, va );
135 if ( ! PyTuple_Check( args ) ) {
137 PyTuple_SET_ITEM( t, 0, pyobj );
138 PyTuple_SET_ITEM( t, 1, args );
141 PyObject* t = PyTuple_New( PyTuple_GET_SIZE( args ) + 1 );
142 PyTuple_SET_ITEM( t, 0, pyobj );
143 for (
int i = 0; i < PyTuple_GET_SIZE( args ); i++ ) {
144 PyObject* item = PyTuple_GET_ITEM( args, i );
146 PyTuple_SET_ITEM( t, i+1, item );
152 args = PyTuple_New( 1 );
153 PyTuple_SET_ITEM( args, 0, pyobj );
174 PyTuple_SET_ITEM( args, 2, PyInt_FromLong( event ) );
192 PyTuple_SET_ITEM( args, 0, PyInt_FromLong( event ) );
193 PyTuple_SET_ITEM( args, 1, PyInt_FromLong(
x ) );
194 PyTuple_SET_ITEM( args, 2, PyInt_FromLong(
y ) );
215 PyTuple_SET_ITEM( args, 2, PyInt_FromLong( event ) );
#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.
TCppScope_t GetScope(const std::string &scope_name)
PyObject * BindCppObject(Cppyy::TCppObject_t object, Cppyy::TCppType_t klass, Bool_t isRef=kFALSE)
if the object is a null pointer, return a typed one (as needed for overloading)
static constexpr double pi