diff options
author | Thomas Wouters <thomas@python.org> | 2000-07-25 12:56:38 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-07-25 12:56:38 (GMT) |
commit | 334fb8985bc126f62af65669150c30787eabddd9 (patch) | |
tree | 114a52660cda84eb69f1fe8c24d0df7458dbe875 /Python | |
parent | bf680266da23b0b95a03d2b7ea5da493d341a562 (diff) | |
download | cpython-334fb8985bc126f62af65669150c30787eabddd9.zip cpython-334fb8985bc126f62af65669150c30787eabddd9.tar.gz cpython-334fb8985bc126f62af65669150c30787eabddd9.tar.bz2 |
Use 'void' directly instead of the ANY #define, now that all code is ANSI C.
Leave the actual #define in for API compatibility.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/ceval.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index db22756..5822a85 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -210,15 +210,15 @@ PyEval_RestoreThread(PyThreadState *tstate) #define NPENDINGCALLS 32 static struct { - int (*func)(ANY *); - ANY *arg; + int (*func)(void *); + void *arg; } pendingcalls[NPENDINGCALLS]; static volatile int pendingfirst = 0; static volatile int pendinglast = 0; static volatile int things_to_do = 0; int -Py_AddPendingCall(int (*func)(ANY *), ANY *arg) +Py_AddPendingCall(int (*func)(void *), void *arg) { static int busy = 0; int i, j; @@ -255,8 +255,8 @@ Py_MakePendingCalls(void) things_to_do = 0; for (;;) { int i; - int (*func)(ANY *); - ANY *arg; + int (*func)(void *); + void *arg; i = pendingfirst; if (i == pendinglast) break; /* Queue empty */ |