9#
if PY_VERSION_HEX >= 0x03080000
15 if (kwds && ((PyDict_Check(kwds) && PyDict_Size(kwds)) ||
16 (PyTuple_CheckExact(kwds) && PyTuple_GET_SIZE(kwds)))) {
17 PyErr_SetString(PyExc_TypeError,
"keyword arguments are not yet supported");
26#if PY_VERSION_HEX >= 0x03080000
35 if ((!self || (
PyObject*)self == Py_None) && nargs) {
49 return this->
Execute(
nullptr, 0, ctxt);
static Py_ssize_t CPyCppyy_PyArgs_GET_SIZE(CPyCppyy_PyArgs_t args, size_t)
PyObject * CPyCppyy_PyArgs_t
#define CPyCppyy_PyText_AppendAndDel
#define CPyCppyy_PyText_FromString
static PyObject * CPyCppyy_PyArgs_GET_ITEM(CPyCppyy_PyArgs_t args, Py_ssize_t i)
PyObject * Call(CPPInstance *&self, CPyCppyy_PyArgs_t args, size_t nargsf, PyObject *kwds, CallContext *ctxt=nullptr) override
PyObject * GetTypeName() override
std::string GetReturnTypeName()
PyObject * GetSignature(bool show_formalargs=true) override
bool Initialize(CallContext *ctxt=nullptr)
bool ConvertAndSetArgs(CPyCppyy_PyArgs_t, size_t nargsf, CallContext *ctxt=nullptr)
PyObject * Execute(void *self, ptrdiff_t offset, CallContext *ctxt=nullptr)
Cppyy::TCppScope_t GetScope()
bool CPPInstance_Check(T *object)
RPY_EXPORTED bool IsSubtype(TCppType_t derived, TCppType_t base)