PyObject_CallFunctionObArgs() ---> PyObject_CallFunctionObjArgs()

PyObject_CallMethodObArgs() ---> PyObject_CallMethodObjArgs()
This commit is contained in:
Fred Drake 2001-10-28 02:39:03 +00:00
parent 86443216b7
commit b0c079e3e5
4 changed files with 23 additions and 23 deletions

View File

@ -208,9 +208,9 @@ determination.
\end{cfuncdesc}
\begin{cfuncdesc}{PyObject*}{PyObject_CallFunctionObArgs}{PyObject *callable,
\moreargs,
\code{NULL}}
\begin{cfuncdesc}{PyObject*}{PyObject_CallFunctionObjArgs}{PyObject *callable,
\moreargs,
\code{NULL}}
Call a callable Python object \var{callable}, with a variable
number of \ctype{PyObject*} arguments. The arguments are provided
as a variable number of parameters followed by \NULL.
@ -219,10 +219,10 @@ determination.
\end{cfuncdesc}
\begin{cfuncdesc}{PyObject*}{PyObject_CallMethodObArgs}{PyObject *o,
PyObject *name,
\moreargs,
\code{NULL}}
\begin{cfuncdesc}{PyObject*}{PyObject_CallMethodObjArgs}{PyObject *o,
PyObject *name,
\moreargs,
\code{NULL}}
Calls a method of the object \var{o}, where the name of the method
is given as a Python string object in \var{name}. It is called with
a variable number of \ctype{PyObject*} arguments. The arguments are

View File

@ -719,9 +719,9 @@ PyObject_CallFunction:PyObject*:callable_object:0:
PyObject_CallFunction:char*:format::
PyObject_CallFunction::...::
PyObject_CallFunctionObArgs:PyObject*::+1:
PyObject_CallFunctionObArgs:PyObject*:callable:0:
PyObject_CallFunctionObArgs::...::
PyObject_CallFunctionObjArgs:PyObject*::+1:
PyObject_CallFunctionObjArgs:PyObject*:callable:0:
PyObject_CallFunctionObjArgs::...::
PyObject_CallMethod:PyObject*::+1:
PyObject_CallMethod:PyObject*:o:0:
@ -729,10 +729,10 @@ PyObject_CallMethod:char*:m::
PyObject_CallMethod:char*:format::
PyObject_CallMethod::...::
PyObject_CallMethodObArgs:PyObject*::+1:
PyObject_CallMethodObArgs:PyObject*:o:0:
PyObject_CallMethodObArgs:char*:name::
PyObject_CallMethodObArgs::...::
PyObject_CallMethodObjArgs:PyObject*::+1:
PyObject_CallMethodObjArgs:PyObject*:o:0:
PyObject_CallMethodObjArgs:char*:name::
PyObject_CallMethodObjArgs::...::
PyObject_CallObject:PyObject*::+1:
PyObject_CallObject:PyObject*:callable_object:0:

View File

@ -344,8 +344,8 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
*/
DL_IMPORT(PyObject *) PyObject_CallFunctionObArgs(PyObject *callable,
...);
DL_IMPORT(PyObject *) PyObject_CallFunctionObjArgs(PyObject *callable,
...);
/*
Call a callable Python object, callable_object, with a
@ -357,8 +357,8 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
*/
DL_IMPORT(PyObject *) PyObject_CallMethodObArgs(PyObject *o,
PyObject *m, ...);
DL_IMPORT(PyObject *) PyObject_CallMethodObjArgs(PyObject *o,
PyObject *m, ...);
/*
Call the method named m of object o with a variable number of

View File

@ -1752,7 +1752,7 @@ PyObject_CallMethod(PyObject *o, char *name, char *format, ...)
static PyObject *
obargs_mktuple(va_list va)
objargs_mktuple(va_list va)
{
int i, n = 0;
va_list countva;
@ -1778,7 +1778,7 @@ obargs_mktuple(va_list va)
}
PyObject *
PyObject_CallMethodObArgs(PyObject *callable, PyObject *name, ...)
PyObject_CallMethodObjArgs(PyObject *callable, PyObject *name, ...)
{
PyObject *args, *tmp;
va_list vargs;
@ -1792,7 +1792,7 @@ PyObject_CallMethodObArgs(PyObject *callable, PyObject *name, ...)
/* count the args */
va_start(vargs, name);
args = obargs_mktuple(vargs);
args = objargs_mktuple(vargs);
va_end(vargs);
if (args == NULL) {
Py_DECREF(callable);
@ -1806,7 +1806,7 @@ PyObject_CallMethodObArgs(PyObject *callable, PyObject *name, ...)
}
PyObject *
PyObject_CallFunctionObArgs(PyObject *callable, ...)
PyObject_CallFunctionObjArgs(PyObject *callable, ...)
{
PyObject *args, *tmp;
va_list vargs;
@ -1816,7 +1816,7 @@ PyObject_CallFunctionObArgs(PyObject *callable, ...)
/* count the args */
va_start(vargs, callable);
args = obargs_mktuple(vargs);
args = objargs_mktuple(vargs);
va_end(vargs);
if (args == NULL)
return NULL;