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