[Python-checkins] CVS: python/dist/src/Parser intrcheck.c,2.37,2.38

Thomas Wouters python-dev@python.org
Tue, 25 Jul 2000 05:56:40 -0700


Update of /cvsroot/python/python/dist/src/Parser
In directory slayer.i.sourceforge.net:/tmp/cvs-serv23253/Parser

Modified Files:
	intrcheck.c 
Log Message:

Use 'void' directly instead of the ANY #define, now that all code is ANSI C.
Leave the actual #define in for API compatibility.



Index: intrcheck.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Parser/intrcheck.c,v
retrieving revision 2.37
retrieving revision 2.38
diff -C2 -r2.37 -r2.38
*** intrcheck.c	2000/07/23 21:18:09	2.37
--- intrcheck.c	2000/07/25 12:56:38	2.38
***************
*** 19,27 ****
  
  #include "myproto.h"
- #include "mymalloc.h" /* For ANY */
  #include "intrcheck.h"
  
  /* Copied here from ceval.h -- can't include that file. */
! int Py_AddPendingCall(int (*func)(ANY *), ANY *arg);
  
  
--- 19,26 ----
  
  #include "myproto.h"
  #include "intrcheck.h"
  
  /* Copied here from ceval.h -- can't include that file. */
! int Py_AddPendingCall(int (*func)(void *), void *arg);