Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
CPPClassMethod.h
Go to the documentation of this file.
1#ifndef CPYCPPYY_CPPCLASSMETHOD_H
2#define CPYCPPYY_CPPCLASSMETHOD_H
3
4// Bindings
5#include "CPPMethod.h"
6
7
8namespace CPyCppyy {
9
10class CPPClassMethod : public CPPMethod {
11public:
13
14 virtual PyCallable* Clone() { return new CPPClassMethod(*this); }
15 virtual PyObject* Call(CPPInstance*& self,
16 CPyCppyy_PyArgs_t args, size_t nargsf, PyObject* kwds, CallContext* ctxt = nullptr);
17};
18
19} // namespace CPyCppyy
20
21#endif // !CPYCPPYY_CPPCLASSMETHOD_H
PyObject * CPyCppyy_PyArgs_t
Definition CPyCppyy.h:330
_object PyObject
virtual PyObject * Call(CPPInstance *&self, CPyCppyy_PyArgs_t args, size_t nargsf, PyObject *kwds, CallContext *ctxt=nullptr)
virtual PyCallable * Clone()
CPPMethod(Cppyy::TCppScope_t scope, Cppyy::TCppMethod_t method)