4 #ifndef PYROOT_PYROOTTYPE_H
5 #define PYROOT_PYROOTTYPE_H
10 #if PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION == 2
13 #include "structmember.h"
17 PyNumberMethods as_number;
18 PySequenceMethods as_sequence;
19 PyMappingMethods as_mapping;
20 PyBufferProcs as_buffer;
22 PyMemberDef members[1];
49 template<
typename T >
52 return object && PyObject_TypeCheck(
object, &PyRootType_Type );
55 template<
typename T >
63 #endif // !PYROOT_PYROOTTYPE_H
Bool_t PyRootType_CheckExact(T *object)
Bool_t PyRootType_Check(T *object)
PyTypeObject PyRootType_Type
Type object to hold TClassRef instance (this is only semantically a presentation of PyRootType instan...
Cppyy::TCppType_t fCppType