#include "Python.h"
#include "pycore_call.h"
#include "pycore_ceval.h"
#include "pycore_dict.h"
#include "pycore_function.h"
#include "pycore_modsupport.h"
#include "pycore_object.h"
#include "pycore_pyerrors.h"
#include "pycore_pystate.h"
#include "pycore_tuple.h"
static PyObject *
null_error(PyThreadState *tstate)
{ … }
PyObject*
_Py_CheckFunctionResult(PyThreadState *tstate, PyObject *callable,
PyObject *result, const char *where)
{ … }
int
_Py_CheckSlotResult(PyObject *obj, const char *slot_name, int success)
{ … }
PyObject *
PyObject_CallNoArgs(PyObject *func)
{ … }
PyObject *
_PyObject_VectorcallDictTstate(PyThreadState *tstate, PyObject *callable,
PyObject *const *args, size_t nargsf,
PyObject *kwargs)
{ … }
PyObject *
PyObject_VectorcallDict(PyObject *callable, PyObject *const *args,
size_t nargsf, PyObject *kwargs)
{ … }
static void
object_is_not_callable(PyThreadState *tstate, PyObject *callable)
{ … }
PyObject *
_PyObject_MakeTpCall(PyThreadState *tstate, PyObject *callable,
PyObject *const *args, Py_ssize_t nargs,
PyObject *keywords)
{ … }
vectorcallfunc
PyVectorcall_Function(PyObject *callable)
{ … }
static PyObject *
_PyVectorcall_Call(PyThreadState *tstate, vectorcallfunc func,
PyObject *callable, PyObject *tuple, PyObject *kwargs)
{ … }
PyObject *
PyVectorcall_Call(PyObject *callable, PyObject *tuple, PyObject *kwargs)
{ … }
PyObject *
PyObject_Vectorcall(PyObject *callable, PyObject *const *args,
size_t nargsf, PyObject *kwnames)
{ … }
PyObject *
_PyObject_Call(PyThreadState *tstate, PyObject *callable,
PyObject *args, PyObject *kwargs)
{ … }
PyObject *
PyObject_Call(PyObject *callable, PyObject *args, PyObject *kwargs)
{ … }
PyAPI_FUNC(PyObject *)
PyCFunction_Call(PyObject *callable, PyObject *args, PyObject *kwargs)
{ … }
PyObject *
PyObject_CallOneArg(PyObject *func, PyObject *arg)
{ … }
PyObject *
_PyFunction_Vectorcall(PyObject *func, PyObject* const* stack,
size_t nargsf, PyObject *kwnames)
{ … }
PyAPI_FUNC(PyObject*)
PyEval_CallObjectWithKeywords(PyObject *callable,
PyObject *args, PyObject *kwargs)
{ … }
PyObject *
PyObject_CallObject(PyObject *callable, PyObject *args)
{ … }
PyObject *
_PyObject_Call_Prepend(PyThreadState *tstate, PyObject *callable,
PyObject *obj, PyObject *args, PyObject *kwargs)
{ … }
static PyObject *
_PyObject_CallFunctionVa(PyThreadState *tstate, PyObject *callable,
const char *format, va_list va)
{ … }
PyObject *
PyObject_CallFunction(PyObject *callable, const char *format, ...)
{ … }
PyAPI_FUNC(PyObject*)
PyEval_CallFunction(PyObject *callable, const char *format, ...)
{ … }
PyAPI_FUNC(PyObject *)
_PyObject_CallFunction_SizeT(PyObject *callable, const char *format, ...)
{ … }
static PyObject*
callmethod(PyThreadState *tstate, PyObject* callable, const char *format, va_list va)
{ … }
PyObject *
PyObject_CallMethod(PyObject *obj, const char *name, const char *format, ...)
{ … }
PyAPI_FUNC(PyObject*)
PyEval_CallMethod(PyObject *obj, const char *name, const char *format, ...)
{ … }
PyObject *
_PyObject_CallMethod(PyObject *obj, PyObject *name,
const char *format, ...)
{ … }
PyObject *
_PyObject_CallMethodId(PyObject *obj, _Py_Identifier *name,
const char *format, ...)
{ … }
PyObject * _PyObject_CallMethodFormat(PyThreadState *tstate, PyObject *callable,
const char *format, ...)
{ … }
PyAPI_FUNC(PyObject *)
_PyObject_CallMethod_SizeT(PyObject *obj, const char *name,
const char *format, ...)
{ … }
static PyObject *
object_vacall(PyThreadState *tstate, PyObject *base,
PyObject *callable, va_list vargs)
{ … }
PyObject *
PyObject_VectorcallMethod(PyObject *name, PyObject *const *args,
size_t nargsf, PyObject *kwnames)
{ … }
PyObject *
PyObject_CallMethodObjArgs(PyObject *obj, PyObject *name, ...)
{ … }
PyObject *
_PyObject_CallMethodIdObjArgs(PyObject *obj, _Py_Identifier *name, ...)
{ … }
PyObject *
PyObject_CallFunctionObjArgs(PyObject *callable, ...)
{ … }
PyObject *
_PyStack_AsDict(PyObject *const *values, PyObject *kwnames)
{ … }
PyObject *const *
_PyStack_UnpackDict(PyThreadState *tstate,
PyObject *const *args, Py_ssize_t nargs,
PyObject *kwargs, PyObject **p_kwnames)
{ … }
void
_PyStack_UnpackDict_Free(PyObject *const *stack, Py_ssize_t nargs,
PyObject *kwnames)
{ … }
void
_PyStack_UnpackDict_FreeNoDecRef(PyObject *const *stack, PyObject *kwnames)
{ … }
#undef PyVectorcall_NARGS
Py_ssize_t
PyVectorcall_NARGS(size_t n)
{ … }