Use 'void' directly instead of the ANY #define, now that all code is ANSI C.

Leave the actual #define in for API compatibility.
This commit is contained in:
Thomas Wouters 2000-07-25 12:56:38 +00:00
parent bf680266da
commit 334fb8985b
11 changed files with 44 additions and 63 deletions

View file

@ -1258,8 +1258,8 @@ PyList_AsTuple(PyObject *v)
if (w == NULL)
return NULL;
p = ((PyTupleObject *)w)->ob_item;
memcpy((ANY *)p,
(ANY *)((PyListObject *)v)->ob_item,
memcpy((void *)p,
(void *)((PyListObject *)v)->ob_item,
n*sizeof(PyObject *));
while (--n >= 0) {
Py_INCREF(*p);