#include "PyROOT.h"#include "PyStrings.h"#include "ObjectProxy.h"#include "Utility.h"#include "TObject.h"#include "TBufferFile.h"Go to the source code of this file.
Namespaces | |
| namespace | PyROOT |
Defines | |
| #define | PYROOT_STUB(name, op, pystring) |
Functions | |
| void | PyROOT::op_dealloc_nofree (ObjectProxy *pyobj) |
| PyObject * | PyROOT::op_nonzero (ObjectProxy *self) |
| PyObject * | PyROOT::op_reduce (ObjectProxy *self) |
| ObjectProxy * | PyROOT::op_new (PyTypeObject *subtype, PyObject *, PyObject *) |
| void | PyROOT::op_dealloc (ObjectProxy *pyobj) |
| PyObject * | PyROOT::op_richcompare (ObjectProxy *self, ObjectProxy *other, int op) |
| PyObject * | PyROOT::op_repr (ObjectProxy *pyobj) |
Variables | |
| R__EXTERN PyObject * | gRootModule |
| PyMethodDef | PyROOT::op_methods [] |
| PyNumberMethods | PyROOT::op_as_number |
| PyTypeObject | PyROOT::ObjectProxy_Type |
| #define PYROOT_STUB | ( | name, | |||
| op, | |||||
| pystring | ) |
Value:
PyObject* op_##name##_stub( PyObject* self, PyObject* other ) \ { \ /* place holder to lazily install __name__ if a global overload is available */ \ if ( ! Utility::AddBinaryOperator( self, other, #op, "__"#name"__" ) ) {\ Py_INCREF( Py_NotImplemented ); \ return Py_NotImplemented; \ } \ \ /* redo the call, which will now go to the newly installed method */ \ return PyObject_CallMethodObjArgs( self, pystring, other, NULL ); \ }
Definition at line 174 of file ObjectProxy.cxx.
| R__EXTERN PyObject* gRootModule |
Definition at line 16 of file ObjectProxy.cxx.
1.5.1